Synchronize selection of AF3 views
Summary
- AF3 provides several editors that provide different overlapping views onto the model (i.e., the same model elements are shown in more than one editor).
- Depending on the concrete editors, it may or may not be a desired behavior to synchronize the currently selected element(s) between these views.
Candidates:
- Model Navigator
-
DiagramEditorBase
based graphical component model editors - Annotation view
How to reproduce
- Select an element in one of the above editors / views and observe that the selection in the other editors remains the same.
Proposed solution:
- A centralized module / “service” where editors whose selection should be synchronized could be registered.
-
org.eclipse.gef.ui.parts.SelectionSynchronizer
which provides this functionality for GEF-based editors could serve as a starting point.
(from redmine: issue id 2137, created on 2014-09-30, closed on 2015-05-26)