Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » parsing file.uml annotated through MARTE profile
parsing file.uml annotated through MARTE profile [message #1356977] Thu, 15 May 2014 09:59 Go to next message
amina Mising name is currently offline amina Mising nameFriend
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 Go to previous message
Christian Damus is currently offline Christian DamusFriend
Messages: 1270
Registered: July 2009
Location: Canada
Senior Member

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,
Previous Topic:Is new style allocation table broken?
Next Topic:Papyrus model to emf/uml2 - stereotypes get lost
Goto Forum:
  


Current Time: Sat Apr 20 01:37:42 GMT 2024

Powered by FUDForum. Page generated in 0.02667 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top