This cheat sheet is a step-by-step description of how to generate an extended EMF
model and editor from a Rose class diagram.
This cheat sheet continues on from either the "Generating an EMF Model from Rose"
or "Generating an EMF Model from Annotated Java" cheat sheet. Ensure that you have
completed at least one of them before contining.
-
Your environment must be set up before you can perform the steps in this cheat sheet.
-
First, you must create a new "schoollibrary.rose" EMF project in your workspace, importing
the Rose model to create the EMF model.
-
Generate the code to implement the model and an editor for it. The generator is automatically opened on completion of the wizard in the previous step.
-
Now, you are set to run the generated editor and create a new school library instance.
Congratulations! You have succesfully extended an EMF model, generated the code, and created an instance of the extended model.