|[GMF Tooling] References container/child [message #731273]
||Fri, 30 September 2011 09:37
| Arthur Daussy
Registered: September 2011
I'm currently working on MDT Papyrus which is a GMF generated editor.
For now we encounter some problem for regeneration one of our diagram.
The problem is the following:
We are working on the Activity diagram. In this diagram for most of the elements we can have several containers:
-> The Activity Diagram container
-> And all the Grouping element (example : Structured Activity node)
For now in the GenMap model the only container set is the Activity Diagram. If we add the other containers in the map, during generation a new element for each container will created. Or we want only one implementation of Structured Activity Node (for example) and not one for each element it can contain.
For now the solution is manually add into the GenModel each reference into the "container" and "child" attribute. However each time we regenerate the genModel we lose all those references. So we have to add them manually again and it is quite pain full.
So I'm writing here to know if:
-> There is any way to avoid when regenerating from GenMap to GenModel to override those manually added elements?
-> There is a way to reference existing element in container/child attribute to avoid creating new elements each time you add them.
Thanks for any help you can give me.
Powered by FUDForum
. Page generated in 0.01754 seconds