Skip to main content



      Home
Home » Eclipse Projects » GEF » MULTIPLE GEF views in an editor(Multiple gef viewers in an editor)
MULTIPLE GEF views in an editor [message #1758344] Mon, 27 March 2017 16:28
Eclipse UserFriend
Hello


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 .

Previous Topic:Problems with figure order
Next Topic:Migrating GEF 3 project
Goto Forum:
  


Current Time: Sun Aug 31 09:30:05 EDT 2025

Powered by FUDForum. Page generated in 0.13939 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top