Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMF <-> UML("Papyrus" or "UML Modeler" or something else?)
EMF <-> UML [message #1633763] Wed, 25 February 2015 01:28 Go to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
EMF and UML
I am a Eclipse newbie so pardon my ignorance please. I did already search all the forums and did not find a similar question. I will be developing a RCP application. I have read the EMF book. A lot of great features. I have bought the Plug-In book and am reading it now. From what I know about EMF it is rock solid, but not a UML tool. I don't have any of the tools that EMF supports for importing. I am starting to create the RCP EMF model in EMF, not importing it from somewhere else. After the EMF model is created for my RCP application there is a lot more work to be done with UML Use Cases, State Diagram etc.... What is the recommended path to go from a EMF model to a UML model "Papyrus" or "UML Modeler" or something else? Any Gotchas to avoid?


Oxygen 3a
Windows 10
Re: EMF &lt;-&gt; UML [message #1636397 is a reply to message #1633763] Thu, 26 February 2015 07:02 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Paul,

Comments below.

On 25.02.2015 02:28, Paul Roubekas wrote:
> EMF and UML
> I am a Eclipse newbie so pardon my ignorance please. I did already
> search all the forums and did not find a similar question. I will be
> developing a RCP application. I have read the EMF book. A lot of great
> features. I have bought the Plug-In book and am reading it now. From
> what I know about EMF it is rock solid, but not a UML tool. I don't
> have any of the tools that EMF supports for importing. I am starting to
> create the RCP EMF model in EMF, not importing it from somewhere else.
> After the EMF model is created for my RCP application there is a lot
> more work to be done with UML Use Cases, State Diagram etc.... What is
> the recommended path to go from a EMF model to a UML model "Papyrus" or
> "UML Modeler" or something else? Any Gotchas to avoid?
I'm not sure what kind of model you are making so I don't understand
it's potential relationship to UML... Why not use Papyrus tooling to
make a UML model directly?
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: EMF &lt;-&gt; UML [message #1636709 is a reply to message #1633763] Thu, 26 February 2015 10:26 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Minimally "EMF Model to UML Model" is an action in the Sample Ecore
Editor title bar menu for an EPackage selection.

The result is a UML model, but it surprises new users because it has no
diagrams.

You can maintain the UML model with the UML Model Editor (tree structured).

If you want diagrams then you can use the UML model as a seed for
Papyrus diagrams.

Gotchas? EMF support (e.g. Xcore, Xbase etc ... OCL) is much more
diverse, integrated and mature than UML support, but only UML support
gives you the full richness of UML.

Regards

Ed Willink


On 25/02/2015 01:28, Paul Roubekas wrote:
> EMF and UML
> I am a Eclipse newbie so pardon my ignorance please. I did already
> search all the forums and did not find a similar question. I will be
> developing a RCP application. I have read the EMF book. A lot of
> great features. I have bought the Plug-In book and am reading it
> now. From what I know about EMF it is rock solid, but not a UML
> tool. I don't have any of the tools that EMF supports for importing.
> I am starting to create the RCP EMF model in EMF, not importing it
> from somewhere else. After the EMF model is created for my RCP
> application there is a lot more work to be done with UML Use Cases,
> State Diagram etc.... What is the recommended path to go from a EMF
> model to a UML model "Papyrus" or "UML Modeler" or something else?
> Any Gotchas to avoid?
>
Re: EMF &lt;-&gt; UML [message #1637173 is a reply to message #1636397] Thu, 26 February 2015 15:29 Go to previous message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
Thanks both Eds for your replies.
To Ed Merks' question:
"I'm not sure what kind of model you are making so I don't understand it's potential relationship to UML... Why not use Papyrus tooling to make a UML model directly?" Sure why not. But I don't see EMF base classes (EObject, EString, etc....) in Papyrus. Has anyone just imported the EMF classes in Papyrus? I would not know where to start. Please remember I am an Eclipse newbie.

To Ed Willink's comment:
Are you suggesting to import the EMF classes (EObject, EString, etc...) and then build & design in Papyrus from there? Or are you saying do all the problem domain design that EMF supports in the EMF.ecore model then export to Papyrus. Then I would assume based on the wording in the answer that there is no round-tripping between EMF and Papyrus and there is no change merge going from EMF to Papyrus either. Am I am correct?




Oxygen 3a
Windows 10
Previous Topic:[EMFForms] TableControl Master/Detail Error
Next Topic:Web browser for EMF Models
Goto Forum:
  


Current Time: Fri Apr 19 22:27:13 GMT 2024

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

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

Back to the top