Page tree

MagicDraw 19.0 LTR SP4 Documentation

A stereotype defines how an existing metaclass may be extended. The stereotype enables the use of the platform or domain-specific terminology or notation in place of, or in addition to, the ones used for the extended metaclass.

When a stereotype is applied to a model element, the values of the properties may be referred to as tagged values.

To apply a stereotype, do one of the following:

  • In the corresponding element's Specification window, click the Applied Stereotype property specification cell, then click , and select stereotypes from the open list. After you have selected, click Apply.
  • In the element's shortcut menu, select Stereotype and select a stereotype that you wish to apply. Click Apply when you are done.
  • On the diagram pane, select an element and in that element's name area, type the stereotype name between brackets « ». The element's name comes after the stereotype.

    If you want to name the element Books and assign it the «table» stereotype, in the element's name area type the following: «table» Books. The name completion for the stereotypes works in the name editing mode, press Ctrl+Spacebar or Ctrl+Backspace to get a list of available stereotypes.

You can change the order of the stereotypes applied to the element. The symbol style of the first stereotype in the list will be applied to the element.

  • No labels