Skip to main content


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 12:25 Go to next message
Han G is currently offline Han GFriend
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 15:20 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
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.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Programmatically create *.ecorediag from *.ecore models [message #1081795 is a reply to message #1080939] Wed, 07 August 2013 17:56 Go to previous message
Han G is currently offline Han GFriend
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 Apr 26 16:08:44 GMT 2024

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

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

Back to the top