Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Strange behavior of nodes in a compartment
Strange behavior of nodes in a compartment [message #108373] Fri, 02 March 2007 11:03 Go to next message
Youmm P. is currently offline Youmm P.Friend
Messages: 140
Registered: July 2009
Senior Member
Hi all,

I would like to have many nodes inside a compartment, just like in the
mindmap example (with the threads nodes inside the topic node).

I have done exactly the same type of mapping BUT my nodes are sticked
together and I can't move them inside the compartment.

I'm using eclipse 3.3M4.

Thanks in advance for the help.
Re: Strange behavior of nodes in a compartment [message #108414 is a reply to message #108373] Fri, 02 March 2007 11:44 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Youmm P.,

Try setting GenCompartment.listLayout property to false for corresponding
compartment.

-----------------
Alex Shatalin
Re: Strange behavior of nodes in a compartment [message #108495 is a reply to message #108373] Fri, 02 March 2007 13:39 Go to previous message
Mohammed Mostafa is currently offline Mohammed MostafaFriend
Messages: 143
Registered: July 2009
Senior Member
Youmm P. wrote:
> Hi all,
>
> I would like to have many nodes inside a compartment, just like in the
> mindmap example (with the threads nodes inside the topic node).
>
> I have done exactly the same type of mapping BUT my nodes are sticked
> together and I can't move them inside the compartment.
>
> I'm using eclipse 3.3M4.
>
> Thanks in advance for the help.

Check the compartment edit part that got generated and make sure it is
shape compartment

if it is a list compartment instead os a shape compartment then this
will explain what you see on your diagram surface (it will be using the
stack layout)

if it was a shape compartment then you should check the layout manager
installed on the figure.

if it is one of these problems i'll suggest you go over your code
generation steps to make sure you did not miss any of the steps
Previous Topic:Must the root model element in the root package when using the Wizard?
Next Topic:any users of GMF 2.0M5 on Linux/GTK?
Goto Forum:
  


Current Time: Fri Sep 27 06:04:52 GMT 2024

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

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

Back to the top