Next
How to create an EMF model and use it in Kermeta
Zoé
Drey
Didier
Vojtisek
Build date: 3-November-2010
$LastChangedDate:: 2010-06-02 10:42:20#$
Table of Contents
1. Introduction
1.1. Required background
1.2. Terminology and format used in this tutorial
1.3. Required environment
2. Create a meta-model for Kermeta programs
2.1. Editing a new meta-model with the EMF sample editor
2.2. Resulting meta-model
2.3. EMF meta-model creation tips
2.4. External documentation
2.5. Alternative ways to create a meta-model
3. Create an instance-model from a meta-model
3.1. With the dynamic instance creation tool
3.2. Using a reflexive editor
3.2.1. Generate the editor
3.2.2. Use the editor
4. Manipulate instance-models with Kermeta
4.1. Preparing a Kermeta program
4.1.1. The persistence library
4.1.2. A first Kermeta program using persistence
4.2. Load an EMF model with Kermeta
4.3. Modify and save an EMF model with Kermeta
4.4. Create a model in Kermeta, and save it as an EMF model
4.5. A template for a complete Kermeta program
5. Meta-model with behaviour and persistency
List of Figures
2.1.
Selection of the model object (root element)
2.2.
Selection of the model object (root element)
2.3.
New empty ecore model
2.4.
How to show properties view
2.5.
New child on EPackage root node
2.6.
Setting the properties of an EReference
2.7.
A simple FSM meta-model
2.8.
Generate Ecore meta-model from Kermeta
3.1.
Create dynamic instance from an Ecore file
4.1.
Fsm_scratch_sample view