-
Notifications
You must be signed in to change notification settings - Fork 0
Represent a FSM graphically
Emmanuel Chebbi edited this page Feb 8, 2018
·
3 revisions
A graphical editor can be defined with Sirius. To this end, go back to the first Eclipse and:
- Right-click on the
*.melange
file - Select
GEMOC Language
- Click on
Generate Animatior Project for language
A new <melange-project-name>.debug.design
project should be created. Here, it is ice.master.fsm.design
.
This project contains a file description/<language-name>.odesign
that can be edited to configure the graphical editor. See Sirius Guide for further details. A GEMOC tutorial also shows how to set up an animation.
Once the editor is ready, we can use it to display the model. To test it:
- Launch a new GEMOC with
Run > Run Configurations... > Eclipse Application
- Create a new Representation of your model.
It is the same as Executing the model with the Model Animator except that the Animator
field must be filled with the path to the .aird
representation file.