Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Programmatically create *.ecorediag from *.ecore models
Programmatically create *.ecorediag from *.ecore models [message #1080829] Tue, 06 August 2013 08:25 Go to next message
Han G is currently offline Han G
Messages: 11
Registered: August 2013
Junior Member
Hi,
is there a way to create a *.ecorediag file from an existing *.ecore model programmatically? I know this can be done interactively via right-click on the *.ecore file and then "Initialize Ecore Diagram file..."

The *.ecorediag file should be created without user-interference (with default settings for parent folder and root node). I'd be grateful for any ideas.
Re: Programmatically create *.ecorediag from *.ecore models [message #1080939 is a reply to message #1080829] Tue, 06 August 2013 11:20 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25947
Registered: July 2009
Senior Member
Han,

Best to look at the source code for those things. The plugin spy can be
useful for finding the code Alt-Shift-F1/F2

On 06/08/2013 5:07 PM, Han G wrote:
> Hi,
> is there a way to create a *.ecorediag file from an existing *.ecore
> model programmatically? I know this can be done interactively via
> right-click on the *.ecore file and then "Initialize Ecore Diagram
> file..."
>
> The *.ecorediag file should be created without user-interference (with
> default settings for parent folder and root node). I'd be grateful for
> any ideas.
Re: Programmatically create *.ecorediag from *.ecore models [message #1081795 is a reply to message #1080939] Wed, 07 August 2013 13:56 Go to previous message
Han G is currently offline Han G
Messages: 11
Registered: August 2013
Junior Member
Hi Ed, thanks for replying!
Didn't knew about the spy plugin but it worked like a charm - thx!
Previous Topic:create model from .ecore
Next Topic:EMFStore
Goto Forum:
  


Current Time: Fri Aug 01 00:02:56 EDT 2014

Powered by FUDForum. Page generated in 0.01707 seconds