This tutorial explains how to create your first properties view with Sirius.
The instructions start from the result of the Sirius Starter Tutorial, a basic modeling tool which simply allows the user to graphically represent men and women of a family and to create new men.
The advanced modeling tool that you will create is based on the same simple Domain Model which describes basic concepts about families.
Note: The screenshots have been created with Obeo Designer 8.1 (based on Sirius 3.1).
Install the basic modeling tool
If at any point in this document you are stuck, you can obtain a project with the complete, final result of this tutorial at this location.
Otherwise, start by following the instructions to install the sample Domain Model:
- Import the projects containing the sample Domain Model
- Launch a new runtime from your Eclipse
- Select the Sirius perspective
- Import a sample model
Now, you should have an Eclipse runtime (started from your first Eclipse) with a sample Family model installed in your workspace.
Then, install the solution of the Starter Tutorial. It is implemented by a Viewpoint Specification Project that you need to import into your workspace.
This project can be easily installed from the provided examples (menu File > New > Example... : select Basic Family Sample Modeler Definition).
Once the modeler imported in your workspace, activate the persons viewpoint by selecting the menu Viewpoint Selection.
You must activate the persons viewpoint to be able to create the representations which are defined by this viewpoint.
Then right-click on the sample model and select the menu New Representation / new Persons diagram.
Sirius should create and open a diagram describing the men and women contained in the sample model.