|Canvas with List-Compartment [message #81023]
||Mon, 27 November 2006 12:36
Originally posted by: tobk.gmx.de|
is there a way to add a List-Layout compartment to the canvas? I'd like to
have a regular canvas for placing nodes on and on the side a compartment
that can hold a list of graphical elements. I know how one can do this for
a node, but I do not know if this is possible for the canvas, too.
|Re: Canvas with List-Compartment [message #658635 is a reply to message #658469]
||Wed, 09 March 2011 10:49
| Christophe Bouhier
Registered: July 2009
On 08-03-11 16:52, Stanislav wrote:|
> Hi Tobias
> I have to implement something similar. Have you found a solution? If
> yes, I would appreciate if you share it.
Have you tried, changing the layout in the .gmfgen "Figure
Viewmap"->Layout Type entry? (You'll find it in your .gmfgen, under the
"Gen Diagram" entry).
By default it's UNKNOWN. It's not really unknown, as it will use the
layout defined in DiagramEditPart
(Line 164 f.setLayoutManager(new FreeFormLayoutEx()); )
If you change the entry to TOOLBAR_LAYOUT, your xxxEditPart, will
override the createFigure() method and install the selected layout.
Powered by FUDForum
. Page generated in 0.02281 seconds