parsing file.uml annotated through MARTE profile [message #1356977] |
Thu, 15 May 2014 09:59 |
amina Mising name Messages: 4 Registered: March 2011 |
Junior Member |
|
|
Hello,
I created a UML model under eclipse kepler (using papyrus). My model is tagged through MARTE annotations.
Now i want to parse the corresponding file in order to get all the features (attributes, properties) specified in the model.
I tried to pass through the creation of the .genmodel, but doing so i could not find the attributes of classes (attributes offered by MARTE).
Any help please on how shall i do to parse my UML file annotated through MARTE ?
Thank you,
Best regards,
[Updated on: Thu, 15 May 2014 09:59] Report message to a moderator
|
|
|
Re: parsing file.uml annotated through MARTE profile [message #1357322 is a reply to message #1356977] |
Thu, 15 May 2014 13:15 |
|
Hi,
Genmodels are for generating code for EMF models. You just need to
load your UML resource in a ResourceSet and access the contents using
the UML API.
I'd suggest this tutorial to learn more:
https://wiki.eclipse.org/MDT/UML2/Introduction_to_UML2_Profiles
HTH,
Christian
On 2014-05-15 09:59:07 +0000, amina Mising name said:
> Hello,
> I created a UML model under eclipse kepler (using papyrus). My model is
> tagged through MARTE annotations. Now i want to parse the corresponding
> file in order to get all the features (attributes, properties)
> specified in the model.
> I tried to pass through the creation of the .genmodel, but doing so i
> could not find the attributes of classes (attributes offered by MARTE).
> Any help please on how shall i do to parse of UML file annotated
> through MARTE ?
> Thank you, Best regards,
|
|
|
Powered by
FUDForum. Page generated in 0.02667 seconds