Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Canvas with List-Compartment
Canvas with List-Compartment [message #81023] Mon, 27 November 2006 12:36 Go to next message
Eclipse UserFriend
Originally posted by: tobk.gmx.de

Hello,

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.

thanks,
tobias
Re: Canvas with List-Compartment [message #658469 is a reply to message #81023] Tue, 08 March 2011 15:52 Go to previous messageGo to next message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 13
Registered: October 2010
Junior Member
Hi Tobias

I have to implement something similar. Have you found a solution? If yes, I would appreciate if you share it.

Cheers,
Stanislav
Re: Canvas with List-Compartment [message #658635 is a reply to message #658469] Wed, 09 March 2011 10:49 Go to previous message
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
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.

have fun!

>
> Cheers,
> Stanislav
Previous Topic:No Application is generated
Next Topic:GMF Editors Integration
Goto Forum:
  


Current Time: Thu Apr 25 05:06:37 GMT 2024

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

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

Back to the top