Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Different Sirius product
Different Sirius product [message #1782592] Mon, 26 February 2018 22:46 Go to next message
Lina 20 is currently offline Lina 20Friend
Messages: 32
Registered: March 2017

I want to create a sirius product that avoid the EMF model , the viewpoints selections and the new representation steps.
For example I would like to create a diagram the way you create a project.

I would appreciate if any of you has an idea to achieve that.

Thank you!!

Re: Different Sirius product [message #1782672 is a reply to message #1782592] Tue, 27 February 2018 16:35 Go to previous message
Guillaume Coutable is currently offline Guillaume CoutableFriend
Messages: 15
Registered: May 2014
Junior Member


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.


Guillaume Coutable - Obeo
Need training or professional services for Sirius?
Previous Topic:I can not find GMF API or documentation
Next Topic:Maintaining Graphical layout of Elements in Model
Goto Forum:

Current Time: Fri Jan 22 04:41:52 GMT 2021

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

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

Back to the top