Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » State machine metamodel
State machine metamodel [message #1262676] Mon, 03 March 2014 22:24 Go to next message
John Smith is currently offline John SmithFriend
Messages: 12
Registered: March 2014
Junior Member
Dear All,

Is there a way to see the (meta-) metamodel of the State machine diagram, implemented in Papyrus?

I am interested in the modeling part, especially in the relations and generalizations of its elements (state, transition, compound state, etc.). I am aware of the UML specifications regarding this part, but I am interested especially in the Papyrus implementation.

Is there a way, that I can see it graphically, as if I would create a new (Ecore) model in EMF? That 'implements' the State machine diagram, specificied in the UML standards.

I hope you get what I am looking for.

Thank you in advance!

Best regards,
John
Re: State machine metamodel [message #1262967 is a reply to message #1262676] Tue, 04 March 2014 04:45 Go to previous messageGo to next message
Rafael Chaves is currently offline Rafael ChavesFriend
Messages: 161
Registered: July 2009
Senior Member
Doesn't Papyrus use Eclipse UML2? If so, this should help:

http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.uml2.doc%2Freferences%2Fjavadoc%2Forg%2Feclipse%2Fuml2%2Fuml%2FStateMachine.html
Re: State machine metamodel [message #1264620 is a reply to message #1262967] Wed, 05 March 2014 11:09 Go to previous messageGo to next message
John Smith is currently offline John SmithFriend
Messages: 12
Registered: March 2014
Junior Member
Dear Rafael,

Thank you for the answer. Is there any graphical representation of it? I mean a metamodel created in EMF.

Thank you for your help!

Best regards,
John
Re: State machine metamodel [message #1264697 is a reply to message #1264620] Wed, 05 March 2014 12:26 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi John,

The Ecore metamodel of UML is available in the Eclipse UML2 plug-in:

org.eclipse.uml2.uml/model/UML.ecore

Regards,
Camille


Camille Letavernier
Re: State machine metamodel [message #1265218 is a reply to message #1264697] Wed, 05 March 2014 20:48 Go to previous messageGo to next message
John Smith is currently offline John SmithFriend
Messages: 12
Registered: March 2014
Junior Member
Dear Camille,

Thank you for your help! I shall see, what I find there.

Best regards,
John
Re: State machine metamodel [message #1265269 is a reply to message #1265218] Wed, 05 March 2014 22:25 Go to previous messageGo to next message
John Smith is currently offline John SmithFriend
Messages: 12
Registered: March 2014
Junior Member
Dear Camille,

Could you give me a little help, please?

I do not find this folder within the plugins folder in my Eclipse. However, I have already installed the Papyrus (Incubation) plugin in my Eclipse with EMF, and on the 'Plug-ins' tab in 'Eclipse Installation Details' the 'org.eclipse.uml2.uml' plugin can be found with its authentication information as well.

Could you tell me, where can I find that folder in the installation folder of the Eclipse?

Thank you for your help in advance!

Best regards,
John

John Smith wrote on Wed, 05 March 2014 15:48
Dear Camille,

Thank you for your help! I shall see, what I find there.

Best regards,
John

[Updated on: Wed, 05 March 2014 22:29]

Report message to a moderator

Re: State machine metamodel [message #1265559 is a reply to message #1265269] Thu, 06 March 2014 08:56 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi,


The plug-in is org.eclipse.uml2.uml, and it contains the model/UML.ecore file

As plug-ins are distributed as Jar archives, you can either:

- Unzip "org.eclipse.uml2.uml.jar" directly from your Eclipse installation folder (Not recommended)
- Import it as a project in Eclipse (Import > Plug-ins and fragments > Import from Active Target Platform > Select org.eclipse.uml2.uml)
- Fetch the sources code from the UML2 git repository: git://git.eclipse.org/gitroot/uml2/org.eclipse.uml2.git

Note that the installed org.eclipse.uml2.uml plug-in contains the UML 2.4 metamodel (Current release), whereas the master branch on the Git repository contains the UML 2.5 metamodel (Incoming Luna release, in June 2014)


Regards,
Camille


Camille Letavernier
Re: State machine metamodel [message #1265759 is a reply to message #1265559] Thu, 06 March 2014 14:16 Go to previous message
John Smith is currently offline John SmithFriend
Messages: 12
Registered: March 2014
Junior Member
Dear Camille,

Thank you for help your help, I have found the UML.ecore file!

Best regards,
John
Previous Topic:Papyrus & EMF
Next Topic:Papyrus Kepler SR2a
Goto Forum:
  


Current Time: Fri Apr 19 04:47:55 GMT 2024

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

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

Back to the top