Community
Participate
Working Groups
This facility is about the possibility to select any kind of element within a view (diagram, table or text) and to be able to retrieve this latter in the model explorer. Today, this feature is partially supported by Papyrus for diagrams. It should be completed to be also available for at least for the table views and it should also to enable to support within diagram views the navigation to the type of typed element which are denoted as label such as for the property within class diagram or for ports within composite structure diagrams.
Initial contribution in r10483-10484: - New Service (NavigationService in oep.infra.services.navigation) - The service is used to retrieve all targets from a given object (e.g. "Navigate to Type" from a TypedElement) - A contribution for navigating from UML::TypedElement to UML::Type - A contribution for navigation from UML::Operation to UML::Type (From the operation's return type) - The ModelExplorer uses this service on Ctrl + Click -> Usage: Hold CTRL and move your mouse on a TypedElement in the ModelExplorer (e.g. Operation, Property, ...) TODO: - Add Preferences to enable/disable some contributions - The Diagrams should use this service - The Tables should use this service - Improve support for elements which have a Type but are not TypedElement (e.g. Operation)
r10485: The new plug-ins have been added to the build
r10498: The navigation feature is now associated with ALT + Click, as Ctrl + Click is already used for multi-selection in the ModelExplorer and the Diagrams.
> - The Diagrams should use this service Done (See bug 402947) Todo: - The navigation service needs to be improved to allow a different navigation context (e.g. from the Diagram to the ModelExplorer, from the current Diagram to any diagram, from the ModelExplorer to the diagrams, ...)
The core feature is implemented and integrated. Additional enhancements can be found in separate tasks, e.g.: Bug 404919: [Navigation Service] Improve the target of the Navigation Service Bug 402948: [Tables - Navigation] The tables shall use the Navigation service I close this task