|MULTIPLE GEF views in an editor [message #1758344]
||Mon, 27 March 2017 20:28
| philippe Arne
Registered: March 2017
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.
What did I do wrong ?
thanks for your responses .
Powered by FUDForum
. Page generated in 0.01964 seconds