Creating a new weaving model

To create a new Model Weaver section, you must choose in the wizards page: Model Weaver wizard in the New -> Other menu


Step 1

In this page you must choose the weaving metamodel or the weaving metamodel extensions. There are two options:

The default base metamodel extension is available in the file "mw_base_extension.km3".


Step 2

After selecting the metamodel extensions you should specify a weaving model to be loaded.

To do this , you must:


If the combos have only one choice, they are disabled (grayed).


Step 3

You must choose left and right metamodels and/or models.
Depending on the metamodel extension, it is possible to have more than two models. To do this operation, you should, for each model/metamodel :
   



Buttons "Add a model" and "Remove selelected model" are grayed because we use the default base extension. In this extension, you have a "leftModel" reference and a "rightModel" reference but you haven't got a reference which is many.

After clicking into the "Finish" button a new weaving model will be created (as seem in the following picture) and the user can start to define the metamodels relationships.