Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gmf-dev] [GMF Tooling] References container/child

Hi everyone,

            I hope I am in the good list for the following question. 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.

 

Arthur Daussy
Atos Origin Intégration
6 impasse A
lice Guy
BP 43045
31024 Toulouse Cedex 3

Telephone : +33 (0) 5 34 36 32 90
www.atos.net

 

 


Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos ne pourra être engagée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être engagée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.


Back to the top