Hi,
What is the difference (is there any?) between “Filters > ShowAllrelatedLinks” and “Navigate >Restore Related Elements”.
When right clicking on a class in a class diagram, we have these 2 options.
I played a little with both and always got similar results.
Comments:
-
Some of the code seems to be copy/pasted between both (see AbstractShowHideRelatedLinkEditPolicy vs RestoreRelatedLinksCommand)
-
A ->B, using both function on A
o
B hided : won’t display B nor the generalization
o
B showed: will display the generalization
-
Navigate >Restore Related Elements only present in Class and Activity diagrams
-
Filters > ShowAllrelatedLinks only present in Class, Composite, Profile and statemachine diagrams
IMHO:
- “Navigate >Restore Related Elements” should be removed (or at least moved in the same menu as other show/hide)
- “Filters > ShowAllrelatedLinks” should be propagate to all diagrams
- ShowAllrelatedLinks should also propose an option do add the second end of the link if not present in diagram
Does someone has the “historic reasons” for both functions?
Regards,
Benoit