Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • B bjgf
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Issues 127
    • Issues 127
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • BlueJ
  • bjgf
  • Issues
  • #2098

Closed
Open
Created Jul 04, 2018 by Neil Brown@nccbMaintainer

[GREENFOOT-767] Changing class extends doesn't update class diagram

Create a class, say Car, which extends Actor, with no classes depending on it. It will appear in class diagram under Actor. Then modify the extends declaration to extend Object. It will stay under Actor in the diagram, rather than moving to the other-classes section. The reverse is also true: if you close and re-open Greenfoot with it extending Object, it will appear down the bottom, but changing back to extends Actor does not move it up to the actor section.

Related: if you change Car to extend Crab, it won't appear in the class diagram correctly, and when you hold shift to place one, it will use Crab's image not Car, even if Car has a specific image of its own. This may be corrected by fixing the above issue, but check afterwards.


Issue metadata

  • Issue type: Task
  • Priority: Medium
Assignee
Assign to
Time tracking