[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: A clear definition of "children feature" and its use cases?

Hello Mous,

where I want to represent a node that has no containment with the root
or with any element in the diagram but just association:
Then you have to specify "containment" feature == refernce from "graphically" parent element to "graphically" child one set container for newly created "child" somehow using custom code.

In other words, AFAIK currently child and containment feature are both features of the same "graphically parent" element. If you need to physically put child node somewhere else - make this reference derived and implement corresponding logic in EMF-generated setter method for this feature.

-----------------
Alex Shatalin