Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » initializing an UML2 model with .ecore contents
initializing an UML2 model with .ecore contents [message #471150] Mon, 26 February 2007 14:46 Go to next message
Miguel Garcia is currently offline Miguel GarciaFriend
Messages: 40
Registered: July 2009
Member
Hi,

Given a .ecore file, how can it be converted to a .uml file? It's not
necessary to generate diagram layout information, although that would be
desirable too.

Regards,

Miguel
Re: initializing an UML2 model with .ecore contents [message #471159 is a reply to message #471150] Mon, 26 February 2007 18:13 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Miguel,

Right click on your corresponding .genmodel. Select "Export Model...".
From the wizard that pops up, select UML model.
Alternatively, you can open your .ecore model. Select a EPackage that you
want to convert, then from the "Sample Ecore Editor" menu, select "Convert
to UML Model ..." .

You will need the org.eclipse.uml2.examples plugins to see those menu
options.

If you are using the latest version of the UML API, be on the lookout for
genercis in your generated UML model.

Regards,

- James.

"Miguel Garcia" <mgarcia512@yahoo.com> wrote in message
news:erursi$9th$1@utils.eclipse.org...
>
> Hi,
>
> Given a .ecore file, how can it be converted to a .uml file? It's not
> necessary to generate diagram layout information, although that would be
> desirable too.
>
> Regards,
>
> Miguel
>
>
Re: initializing an UML2 model with .ecore contents [message #593875 is a reply to message #471150] Mon, 26 February 2007 18:13 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Miguel,

Right click on your corresponding .genmodel. Select "Export Model...".
From the wizard that pops up, select UML model.
Alternatively, you can open your .ecore model. Select a EPackage that you
want to convert, then from the "Sample Ecore Editor" menu, select "Convert
to UML Model ..." .

You will need the org.eclipse.uml2.examples plugins to see those menu
options.

If you are using the latest version of the UML API, be on the lookout for
genercis in your generated UML model.

Regards,

- James.

"Miguel Garcia" <mgarcia512@yahoo.com> wrote in message
news:erursi$9th$1@utils.eclipse.org...
>
> Hi,
>
> Given a .ecore file, how can it be converted to a .uml file? It's not
> necessary to generate diagram layout information, although that would be
> desirable too.
>
> Regards,
>
> Miguel
>
>
Previous Topic:Programmetic Create Connetor between Port
Next Topic:Re: UML2 Profile Usage
Goto Forum:
  


Current Time: Tue Apr 07 21:22:18 GMT 2020

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

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

Back to the top