Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » element drawn in the compartment and outside compartment
element drawn in the compartment and outside compartment [message #200064] Mon, 04 August 2008 06:54 Go to next message
Eclipse UserFriend
Hello,
I find if an element is mapped as child reference to a top reference,it
can't be drawn outside the compartment.That means if I want to draw that
element,I must first draw the container element.If there is a way to
define the .gmfmap that the child element can be drawn not only in the
compartment of container element but also outside the container?


Thanks!

ye
Re: element drawn in the compartment and outside compartment [message #200072 is a reply to message #200064] Mon, 04 August 2008 07:12 Go to previous messageGo to next message
Eclipse UserFriend
Hello Ye,

Create one more TopNodeReference with corresponding NodeMapping below. If
you'd like to reuse this node mapping in an existing ChildReference then
you can remove NodeMapping currently created below ChildReference and use
"referencedChild" property of ChildReference to point to the NodeMapping
below TopNodeReference.

-----------------
Alex Shatalin
Re: element drawn in the compartment and outside compartment [message #200270 is a reply to message #200072] Tue, 05 August 2008 02:46 Go to previous message
Eclipse UserFriend
Hello,
Thanks a lot, I tried the first method and it works.


Regards
Ye
Previous Topic:package name in generated model code
Next Topic:Properties view add buttons
Goto Forum:
  


Current Time: Thu Jul 10 02:14:59 EDT 2025

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

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

Back to the top