Create ecoretools 2 diagram from ecore file [message #1290796] |
Thu, 10 April 2014 08:45  |
Eclipse User |
|
|
|
Hi,
I want to create a diagram for an existing ecore file, using the
not-yet-released Ecoretools 2 based on Sirius. The way I currently do
this is to create a new project with a new model, replace the new
model's ecore with my original ecore, open the diagram and use add in
the palette to add each element individually. It's nice that references
between added elements are automatically created, but it is still
tedious to this manually for each EClass.
Is there a way to do this in one operation, preferably right-click in
the ecore file and select an action?
Hallvard
|
|
|
|
Re: Create ecoretools 2 diagram from ecore file [message #1309525 is a reply to message #1297369] |
Tue, 22 April 2014 15:03  |
Eclipse User |
|
|
|
Cedric,
Thanks for your answer!
Is there an easy way to relate a new diagram to an existing ecore file?
As mentioned, I currently do this by replacing the one auto-created with
the diagram with the old one.
Hallvard
On 15.04.14 18:24, Cedric Brun wrote:
> You can right click on the background of the diagram and pick "Add
> related Elements" the next popup will prompt you with all the EClasses
> and you can select them and click on "ok".
>
> You can also drag&drop the EClasses you want to import from the Model
> Explorer directly into the diagram.
|
|
|
Powered by
FUDForum. Page generated in 0.05987 seconds