|Creating metamodel object instances without graphical view [message #1066764]
||Thu, 04 July 2013 05:22
| Luca Salemio
Registered: May 2013
during my work on a GMF application I encountered a problem that I would like to resolve. What I need to do is:
Assume I have 2 node categories
and 1 connection that I can add between blocks:
that i can draw on the editor, taking them from a palette.
What i would like to achieve is when I click on a connection an instance of another object (let's say called Book) already defined to be part of a block into the ecore metamodel, is added into the block definition of the semantic domain model.
Since this Book is not part of the palette, it doesn't have EditPart and even any EditPolicies, its class is only part of the Model Code package.
Please anyone can help me ??
any suggestion is really welcome.
Powered by FUDForum
. Page generated in 0.03367 seconds