Download as a PDF

Transcript
Contents
1 Overview
2
1.1
Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
1.2
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
2 Editor
3
2.1
Definition of EMF Model Transformations . . . . . . . . . . . . . . . . . . . . . . . .
3
2.2
Editor perspective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
2.3
Working with the editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3
3 Interpreter
7
3.1
Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
3.2
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
4 Compiler
9
4.1
Compiling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9
4.2
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9
5 Example: Refactoring the PetriNet Model
11
5.1
EMT Grammar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
5.2
Import/Export of model instances . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
5.3
Interpreter usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
14
5.4
Compiler usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
15
6 Example: From Class Diagrams To Relational Data Base Models
18
7 Restrictions
22
References
22