Associating stereotypes with an element

You can associate stereotypes with a model element using the Stereotype field of the Features window for that element.

About this task

The Stereotype field includes a list of all the stereotypes that are defined in the profiles and packages that can extend the metaclass of that element. For example, if the element is a class, the Stereotype list includes all the stereotypes in all the profiles and packages that extend that class.

Stereotypes can also be applied to elements that are based on "new term" stereotypes. In such cases, the Stereotype list does not contain the stereotype on which the element is based, nor any other "new term" stereotypes.

Procedure

  • Associating stereotypes with an element
    1. Open the Features window for the element.
    2. Open the Stereotype list.
    3. Use the check boxes to select the stereotypes you would like to apply to the element.
    4. Click the arrow of the list to close the list.
    5. Click Apply or OK.
  • Associating stereotypes with an element using tree display
    1. Open the Features window for the element.
    2. Click Browse next to the list.
    3. Find the stereotypes that you would like to apply. Use Ctrl + Shift to select more than one stereotype.
    4. Click OK to close the tree display.
    5. Click Apply or OK.
  • Deleting stereotypes
    1. Select the stereotype to delete.
    2. Click Delete.
    3. Click OK.