[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Newbie

Hi Jose,

please find attached a minimal working solution (without father link).
The only remaining problem, as Alex already mentioned, is that the top level nodes are not stored under the Model element without customizing the generated code.


Cheers,
Marco

Jose Salazar schrieb:
Hi,
I want a tree-structure diagram, so the metamodel its like "node + aggregation for childrens + association for father" more or less. The problem is that when I try to create a children-link, the children node dissapear from the diagram but not in the Ecore-tree. I think the aggregation "wants" from me that I've to create a container inside the node, and then in the mapping, link the aggregation with him.
But I want the children in the canvas with the tree-structure in Ecore, not ploted inside father-node.


Is it possible?

Thanks.

Attachment: gmfNodeTree.zip
Description: Zip compressed data