|
Re: Different Sirius product [message #1782672 is a reply to message #1782592] |
Tue, 27 February 2018 16:35 |
|
Hi,
If I understood, you want to use, for example, a wizard that create a project with an emf model and an empty diagram already created, and a viewpoint already selected. Then start to use the diagram as usual.
Ecore Tools provide a similar aproach with an ecore model. I invite you to look at EcoreModelingProjectCreationOperation, which creates a project with model files, adds them to a sirius session, activates a viewpoint and creates an empty representation.
If you want to open the representation after it has been created, you can use DialectUIManager#openRepresentation.
Regards
Guillaume Coutable - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.02965 seconds