Creating a UML2 Model

Creating a UML2 Model

You start by defining a UML2 model, i.e. an instance of the UML2 metamodel. Inside the project, in the source folder, you create a UML2 model that you should call example.uml (after pressig Next> ).

Figure 2. Creating a new UML2 model

Creating a new UML2 model

On the last page of the wizard you have to select the model object. Make sure its a Model , not a Profile .

Figure 3. Selecting the Model object

Selecting the Model object


You should then build a model that looks somewhat like this:


By the way, if you rename the .uml file to .ecore, you can edit the model using the ecore editors. To inspect the model, they provide a somewhat better view, so you might try!