Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Can I create my own metamodels with Papyrus?
icon12.gif  Can I create my own metamodels with Papyrus? [message #759344] Mon, 28 November 2011 12:42 Go to next message
Ricardo1980 Missing name is currently offline Ricardo1980 Missing nameFriend
Messages: 11
Registered: November 2011
Junior Member
Hello!

After reading some slides about Papyrus, I saw that supports UML2 and EMF metamodels. Does that mean that uses MOF and EMF together? or just tries to emulate MOF through EMF?

If I create my own metamodel, let's say a simplified state chart or a requirements graph, can I use Papyrus graphic infrastructure or have I to use GMF directly, which is painful. I read that in slides but it is strange to me.

I don't understand if I have to use uml profiles or what.

Thanks a lot.

[Updated on: Mon, 28 November 2011 12:55]

Report message to a moderator

Re: Can I create my own metamodels with Papyrus? [message #760471 is a reply to message #759344] Fri, 02 December 2011 13:51 Go to previous message
Cedric Dumoulin is currently offline Cedric DumoulinFriend
Messages: 49
Registered: July 2009
Member
Hi,

You can create EMF metamodel (MM) in Papyrus. Simply use class
diagram, classes and associations. You do not need any other infrastructure.
Once your MM is ready, you can create an EMF genmodel, and import the
MM from uml. Also, it is possible to use the ECore profil to have a more
accurate MM.

I do all my EMF MM with Papyrus, even the more complex one.
I use to proceed like this:
- create an empty EMF project
- go to the models directory, and create a new Papyrus model
- create your MM with uml diagramS and classes. You can use several
diagrams in the same model.
- create a new genmodel, from the UML model. Do that in the model
directory
- generate all the EMF plugins from the generated genmodel.
- update your metamodel in Papyrus, do modification if needed
- reload the MM from the genmodel (select the genmodel, right
click->reload). Regenerate plugins if needed.

Hope this help,

Cedric




Ricardo1980 a écrit :
> Hello!
>
> After reading some slides about Papyrus, I saw that supports UML2 and
> EMF metamodels. Does that mean that uses MOF and EMF together? or just
> tries to emulate MOF through EMF?
>
> If I create my own metamodel, let's say a simplified state chart or a
> requirements graph, can I use Papyrus graphic infrastructure or have I
> to use GMF directly, which is painful. I read that in slides but it is
> strange to me.
>
> Thanks a lot.
Previous Topic:How to model a provided/required connexion with SoaML
Next Topic:template parameter
Goto Forum:
  


Current Time: Wed Jan 22 20:02:03 GMT 2020

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

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

Back to the top