Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] extract information from an activity diagram

Hi,

 

The sysml model of an element IS an EMF model that you can manipulate easily using the EMF/UML API.

 

For a first try you can just ignore the Papyrus/Graphical layer, load the sysml model and navigate into the UML/SysML model with EMF.

You will need to learn the EMF basics to do that, but this is globally a requirement to plug anything with Eclipse MDT tools.

 

Regards,

 

Mathieu Velten

 

De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] De la part de Alexandre HERISSE
Envoyé : jeudi 21 février 2013 11:01
À : mdt-papyrus.dev@xxxxxxxxxxx
Objet : [mdt-papyrus.dev] extract information from an activity diagram

 

Hi,

I need to extract information from an activity diagram with the help of an eclipse plugin.
This activity diagram is mainly composed of call-behaviour actions. Each call-behaviour action points to an activity which have some inputs and some outputs.
By clicking on that item, I can get the NamedElement under the eclipse plugin. What I need is to get the activity which is pointed by the call behaviour action and on that activity, get the arguments name and the result name to process something.

I can see them under debug (in "behaviour" attribute) but I do not know how to get them by calling public functions. Is it related to EMF? If yes, how can we question the emf to get the sysml model of the selected element ?

Thanks for your help.


-- 
Alexandre HERISSE
Xcos developer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.70
http://www.scilab-enterprises.com 

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