Modeling slotted exemplars

1. Creating slotted exemplar

To add slotted exemplar go to palette and expand Class folder. Select slotted type and drop it in the editor field.

We can also change existing class element to slotted exemplar:

  1. Select this Class and go to Properties View
  2. In Properties View select Profile tab
  3. In Profile tab we can add a slotted stereotype. Click on + icon
  4. To apply <<slotted_exemplar>> stereotype just drag it to the right and click ok.

2. Editing exemplar options

Any UML element (with Magik stereotype applied) contains tags, which allow to edit specific generation options. Slotted exemplar contains only Common tags.

Related concepts
Modeling with stereotypes

Related tasks
Common tags