Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Is there any way to convert an ecorediagram to uml?(Conversion.)
Is there any way to convert an ecorediagram to uml? [message #991395] Tue, 18 December 2012 21:50 Go to next message
Bill White is currently offline Bill WhiteFriend
Messages: 9
Registered: September 2012
Junior Member
I have created a small-ish ecore diagram model. It's from a C++ program, and I'm creating it by hand, so (1) the ecore diagram is not really powerful enough to model C++ templates well enough, and (2) I don't want to recreate it manually. So, I'd like to convert it to UML. The only advice I can find with Google-fu is to use the UML2 editor, but I can't see how to install that in Eclipse Juno, and in any case, it seems as if it's been superceded by Papyrus. But I also can't seem to find a way to import an ECore model into Papyrus, so I'm stumped.

Is this sensible? Am I looking to so the right thing? Should I start over, and consign the week or so I spent creating the Ecore model to learning?

Thanks.
Re: Is there any way to convert an ecorediagram to uml? [message #991406 is a reply to message #991395] Tue, 18 December 2012 22:39 Go to previous messageGo to next message
Vlad Gheorghe is currently offline Vlad GheorgheFriend
Messages: 127
Registered: May 2011
Senior Member
Hi Bill,

You can use the UML exporter of EMF.
First, create a .genmodel file for your .ecore file. (New > Other > EMF Generator Model).
Open this .genmodel file with the specialized editor.
Right-click on the root package and choose "Export Model..." > UML Model.

This will get you an equivalent uml model for which you can assoicate a Papyrus diagram file.

Regards
Vlad
Re: Is there any way to convert an ecorediagram to uml? [message #991507 is a reply to message #991406] Wed, 19 December 2012 15:35 Go to previous messageGo to next message
Bill White is currently offline Bill WhiteFriend
Messages: 9
Registered: September 2012
Junior Member
Thanks. That seemed to have worked.
Re: Is there any way to convert an ecorediagram to uml? [message #991514 is a reply to message #991507] Wed, 19 December 2012 16:14 Go to previous message
Bill White is currently offline Bill WhiteFriend
Messages: 9
Registered: September 2012
Junior Member
So, I can't figure out the next part. I want to load my generated uml files into the Papyrus editor. All the tutorials and documents I have seen are out of date. The menu entries in the documentation just don't seem to exist.

This is all very frustrating. It doesn't seem like this should be so hard. How does anybody get the stuff to work without days and days of struggling? I mean, a plausible competitor to MDSE is just typing in Emacs. If this stuff always requires weeks of effort to get the tools configured and working, installing multiple undocumented Eclipse plug-ins and tracking things down on forums, it's hard to see how MDSE in this way is really a competitor.

I may just go back to using the PowerPoint diagram editor.

Previous Topic:EditPartProvider Priority
Next Topic:Advice from software modeler to new one in this field
Goto Forum:
  


Current Time: Tue Sep 24 22:21:09 GMT 2024

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

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

Back to the top