The DSL customization engine allows specification of a preferred metatype if more than one metatype is defined for the DSL element.

To define a preferred metatype for the DSL type

  1. Select the appropriate customization element and open its Specification window.
  2. Click the value specification cell of the Preferred Metatype property and do one of the following: 

    The selected metatype will be assigned as the Preferred Metatype property value.

    Multiple selection is not allowed. You must define a single value.

After updating the customization element specification, you must either reuse the DSL Customization profile in the model or reopen the model.

From now on, all DSL elements will be created with the preferred metatype specified in the customization.