Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 461376

Summary: Use content model elements instead of content parts for the Eclipse Selection.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: Matthias Wienand <matthias.wienand>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nyssen
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2015-03-04 05:53:20 EST
The MVC.FX.UI module contains a SelectionForwarder that is used to forward a viewer's selection to the Eclipse Selection Service. Currently, the selected content parts are reported to the Selection Service. This should be changed, so that the underlying content model elements of the selected parts are reported to the Selection Service. Moreover, when a selection is set via the Selection Service, it has to be carried over to the viewer, i.e. selection forwarding should work in both directions.
Comment 1 Matthias Wienand CLA 2015-03-06 11:01:58 EST
I extended the selection forwarder to work in both directions and use the content elements instead of the content parts. The code is published on the master branch, therefore I resolve this ticket as fixed for 3.10.0M6.