User | Kudos |
---|---|
13 | |
11 | |
3 | |
3 | |
3 |
The Class Hierarchy window is a great tool to see the relationships between classes. It would be even better if you could use it to change those relationships.
I imagine something identical to the way we program with G: connecting wires and moving around icons. A user should be able to drag a class icon around in this window and wire relationships as they see fit.
1. Notice an additional button in the Hierarchy window. This is what's used to draw the relationships.
2. By moving an item out of the row (or column if using the "Horizontal Layout") that it's in, the relationship wire disconnects.
3. Using the wiring tool, a user can reconnect the relationship at a different level. Now the red one I've moved is a grandchild of Green.
4. If the user tries to make an invalid relationship (multiple parents, children higher than parent, etc.), then the wire shows broken. The Class Hierarchy window cannot be closed until it's fixed.
Discuss! I'd love some feedback on this idea. Good? Bad? Better method available?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.