-
Notifications
You must be signed in to change notification settings - Fork 0
Execute a FSM
Emmanuel Chebbi edited this page Feb 8, 2018
·
2 revisions
- Launch a new GEMOC with
Run > Run Configurations... > Eclipse Application
- Create a new project with
File > New > New Java Project
- Create a new model file with
File > New > Other ... > Example EMF Model Creation Wizards > <language-name> Model
- Right-click on the model file:
Open with > <language-name> Model Editor
- Right-click on the model's root:
New Child > ...
To execute a model, stay on the new Eclipse:
- Open Run Configurations:
Run > Run Configurations ...
- Create a new configuration:
Gemoc Sequential eXecutable Model > New
- Select the
model to execute
- Select the
Melange language
- Select the
Main method
(the one annotated with@Main
) - Select the
Main model element path
- Validate with
Run
To use the Model Animator, the model must be executed with a debug configuration:
- Open Run Configurations:
Run > Debug Configurations ...
- Create a new configuration:
Gemoc Sequential eXecutable Model > New
- Select the
model to execute
- Select the
Melange language
- Check the
Break at start
checkbox - Select the
Main method
(the one annotated with@Main
) - Select the
Main model element path
- Validate with
Debug
Note; to benefit from the
MultiDimensional Trace
view, you must open theEngine Addons
tab and checkGeneric MultiDimensional Trace
.