Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsMULTIPLE GEF views in an editor
https://www.eclipse.org/forums/index.php/mv/msg/1085240/1758344/#msg_1758344
For the purposes of an application I have to edit a tree and next to a node of the tree which is a sub tree.
In the partControl of My full tree graphicalEditor I created a sashFrom
SashForm sashForm = new SashForm(parent, SWT.HORIZONTAL);
The shaform has two viewers
- the editors viewer (ScrollingGraphicalViewer) with an edipartFactory
- another Viewer viewer for the subtrees with another edipart factory
When I double click on a node on the main tree, I sets The content of the second viewer with the model of the subtree into the node selected.
All works fine... Except for the LAYOUT policies.
In The main part of th trees editor. I create a layout editpolicy, which manages all of the nodes parts of the tree.. It works OK
For the main Part of the subtree , I made another layout edit policy which manages all the nodes parts of a subtree.. But I'm not able to select a node in the second viewer.