Setup your Model-driven Development Environment:
Now you can create your project:
- Get Eclipse IDE, Modeling distribution.
- Install Xpand to Eclipse IDE
- Install MWE to Eclipse IDE
- Ecore Tools is optional, but it helps you to create your metamodel (Ecore model) using a nicer visual diagram editor.
Now you can create your project:
- Create your metamodel (.ecore file). Better just use Ecore Tools, and create .ecorediag diagram alongside .ecore file.
- Create a .genmodel from your metamodel.
- Generate your Model package and classes from the .genmodel.
- Create a sample model (instance).
- Open the .ecore model file, right click on a EClass and choose Create Dynamic Instance.
- Create a Xpand template.
- Create a MWE workflow file (.mwe).
- Add necessary plugin dependencies to the MANIFEST.MF.
No comments:
Post a Comment