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

Bug 475255

Summary: [GEF4] Provide Eclipse4 GEF4 Selection Service Example
Product: [Tools] GEF Reporter: Patrik Suzzi <psuzzi>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: nyssen, psuzzi
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 8   
Whiteboard:
Attachments:
Description Flags
Eclipse4 GEF4 Selection Service Example none

Description Patrik Suzzi CLA 2015-08-18 07:18:37 EDT
Created attachment 255918 [details]
Eclipse4 GEF4 Selection Service Example

With reference to Bug 372171, I think it will be good to start with a simple demo of GEF4 communicating with Eclipse4. 

This is my proposal: "E4/GEF4 selection service example"
An eclipse E4 Application with a tree viewer and a GEF4 Editor. 
The requirement is: The treeviewer and the GEF4 editor are using the same model object. when an element is selected on the tree viewer, the same (corresponding) element is selected in the GEF4 editor and vice versa (this should work bidirectionally). 

Using selection service in E4 application is easy as adding annotations.
http://www.vogella.com/tutorials/Eclipse4Services/article.html#selectionservice
Comment 1 Alexander Nyßen CLA 2016-02-03 05:32:16 EST
Investigating native support for e4 (i.e. replacing our current UI integration with a pure e4-based one) is targeted in bug #372171. I am resolving this issue (providing an example) as WONTFIX. Please re-open it in case you still intend to contribute such an example.