Generating an Extended EMF Model

Top    Previous: Prerequisites    Next: Generating the EMF Model and the Editor 

Step 1a: Creating a New EMF Model from a Rose Model

Save the Rose model file schoollibrary.mdl somewhere on your workstation, say, d:\tmp\lib. It contains both the "library" and "schoollibrary" packages:



We should really place each of the packages in a separate ".cat" file and reference them in the ".mdl" file. This would enable the packages to be shared by various models. However, this is not the key for this tutorial, we have duplicated the "library" package in the previous tutorial in the "schoollibrary" model. The generator behaves exactly the same whether the package is contained inside the same ".mdl" file or referenced in an external ".cat" file.

The following steps will create a new EMF model project in the workspace:


Top    Previous: Prerequisites    Next: Generating the EMF Model and the Editor