Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » node containment as link
node containment as link [message #235922] Fri, 10 July 2009 10:21 Go to next message
Gary is currently offline GaryFriend
Messages: 125
Registered: July 2009
Senior Member
Hi,
On my diagram I have a node(A) which has children(B,C) currently this is a
containment relationship where B and C can only be drawn inside A, is
there a way to change this into a normal link on the diagram?

Thanks in advance,
Gary
Re: node containment as link [message #235967 is a reply to message #235922] Fri, 10 July 2009 11:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aurelien.pupier.esial.net

Gary a écrit :
> Hi,
> On my diagram I have a node(A) which has children(B,C) currently this is
> a containment relationship where B and C can only be drawn inside A, is
> there a way to change this into a normal link on the diagram?
>
> Thanks in advance,
> Gary
>
>
>

Hi Gary,

not sure to understand.

But if yes, you need to change the gmfmap : remove the child reference to B and C and create a link mapping

Aurelien Pupier
Re: node containment as link [message #236034 is a reply to message #235967] Fri, 10 July 2009 15:37 Go to previous messageGo to next message
Gary is currently offline GaryFriend
Messages: 125
Registered: July 2009
Senior Member
Hi, maby I didn't explain too well, let me try again!

If my canvas(A) has a child(B)
and child(B) has children(C,D)

Is there a way to get C and D to be nodes mapped to my canvas(A) and not
contained inside B?

...Hope this is a better explination
Thanks,
Gary
Re: node containment as link [message #236110 is a reply to message #236034] Mon, 13 July 2009 15:08 Go to previous message
Gary is currently offline GaryFriend
Messages: 125
Registered: July 2009
Senior Member
Thanks, this is now resolved using phantom nodes!
Previous Topic:String attribute as a connection
Next Topic:How to use my own image for each Eclass
Goto Forum:
  


Current Time: Fri Apr 26 09:33:01 GMT 2024

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

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

Back to the top