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

You must choose one or more weaving extensions (of metamodel). This operation is made by adding extension from the top list to bottom list.
By default, extensions defined in your "extension" plug-in are in the list (source : plug-in). You can add your local extensions (source : workspace) with "Browsing" button.

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


If selected extensions are not validated, you can't click on "next" button.

Step 2

After selecting the metamodel extensions you should specify a new weaving model.

To make this operation, you must:


If a combo (panel or wmodel) have only one choice, it is disabled (grayed).


Step 3

You must choose left and right metamodels and/or 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 basic 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 in the Model Weaver Perspective (as seem in the following picture) and the user can start to define the metamodels relations.