|
Re: Sirius Tutorials [message #1776148 is a reply to message #1776119] |
Mon, 13 November 2017 08:26 |
|
Hi,
The Eclipse Modeling Package does not actually include enough of Sirius to follow the tutorials. It comes with the Ecore Tools modeler, which is based on Sirius, but the package only includes the minimum Sirius components which are needed for Ecore Tools to run. Critically, it does not include the specification environment, i.e. the parts needed to create your own modelers. We recommend Obeo Designer (https://www.obeodesigner.com/en/) as the easiest way to start with Sirius. It's from Obeo, but the Community Edition is entirely free and open source, and includes everything needed in a convenient package. It's very similar to the Eclipse Modeling Package, but we make sure it includes compatible versions of everything needed to create and run Sirius modelers.
Regards,
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Re: Sirius Tutorials [message #1776162 is a reply to message #1776154] |
Mon, 13 November 2017 10:21 |
Tim Cook Messages: 10 Registered: June 2011 |
Junior Member |
|
|
Thanks for the replies.
Using the Obeo Designer - Community edition 10.0.0
When I get to " (Run as eclipse application)" I get a new empty workbench/environment.
See: https://photos.app.goo.gl/iqHhGsjA9rBpwm8o2
This is assuming " (Run as eclipse application)" means right clicking on the
org.eclipse.sirius.sample.basicfamily package and running it as an Eclipse application?
Maybe this is where I do not understand the next steps since I am not an experienced Eclipse user?
RE-EDIT:
Okay, you do not see the other packages in the Model Explorer once you run the new environment DUH. Sorry I didn't understand the Eclipse process. In the New environment I loaded the example.basicfamily and I now understand that this IS the "Basicfamily Model Editor" it just doesn't say it anywhere. :-)
Thanks for the patience,
Tim
Yash Khatri wrote on Mon, 13 November 2017 04:37Hi Tim,
To see example.basicfamily in the form of graphical model you need to have the basicfamily editor in the runtime target platform.
To do this:
1. Select file -> New -> Example -> Basic Family Metamodel Definition.
This will import 3 projects in the workspace.
1. org.eclipse.sirius.sample.basicfamily
2. org.eclipse.sirius.sample.basicfamily.edit
3. org.eclipse.sirius.sample.basicfamily.editor
Start a new eclipse environment. (Run as eclipse application)
This will load the metamodel and editor in the runtime target platform.
Now, open the example.basicfamily in "Basicfamily Model Editor" and you will see the graphical view.
Please note: the basicfamily.sample project that you created/imported should be in the new eclipse environment.
-Yash Khatri
[Updated on: Mon, 13 November 2017 10:27] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04266 seconds