Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Dragging out and in a compartment changes containment feature
Dragging out and in a compartment changes containment feature [message #180544] Wed, 02 April 2008 16:46
Lazar Codrut-Lucian is currently offline Lazar Codrut-LucianFriend
Messages: 91
Registered: July 2009
Member
Suppose I have a Package with an "classes" attribute for Class nodes, and
a compartment for this relation. Also suppose the root element for the
diagram is Model with the "children" feature for any node added to it. The
"children" feature is also a feature of any element, including Package.
Package doesn't have a mapping for "children" feature.
If I add a Class to the Package, it will be added to the "classes"
attribute. I drag it outside and it will become one of Model's "children".
Now, when I drag it inside the Package again, it will become one of
Package's "children". Is there a way to intervene and make the Class be
properly added to the "classes" feature?

I also noticed there is no restriction to dragging nodes in the wrong
compartments (a Class in the Attributes compartment, ...).

Thank you,
Lucian
Previous Topic:Multiple palette tool elements for one domain model node
Next Topic:eclipse 3.4M6 problem
Goto Forum:
  


Current Time: Thu Apr 25 18:50:47 GMT 2024

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

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

Back to the top