Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Contents
Prev Next

Apply Stereotypes

During the course of your modeling, you might decide that an existing object requires a stereotype. Enterprise Architect allows new stereotypes to be applied to objects by themselves or in combination with other stereotypes. You do this through the 'Stereotype' field on:

  • The object's 'Properties' dialog or
  • For an element, the element Properties window

Access

Open the Properties Window or the Properties Dialog using one of the methods outlined here.

Ribbon

Show > Window > Properties

Start > Windows > Properties

Design > Package > Manage > Properties > General

Design > Element > Manage > Properties > General

Context Menu

Right-click on Package or element | Properties > General

Keyboard Shortcuts

Alt+Enter ('Properties' dialog)

Alt+1 (Properties window)

Apply stereotype to object, using 'Stereotype' field on 'Properties' dialog

Use any one of these steps:

Step

Action

See also

1

Type the stereotype(s) to apply as a comma-separated list.

The system checks the loaded and enabled Profiles and Technologies, and the Stereotypes table, for a  stereotype with a matching name and base type. If it finds a match, it links to that stereotype and applies the effects. If it doesn't find a match, it creates a new stereotype name in the Stereotypes table and links to that - the stereotype acting as a simple label.

Therefore:

  • If you don't want the element's stereotype to match with an identically named stereotype located by the system, either:
         -  Disable the Technology that owns the stereotype
         -  Unload the Profile that owns the stereotype, or
         -  Delete the stereotype from the stereotypes table
  • If you do want the stereotype to match to a specific stereotype in a Profile or Technology, load the Profile or enable the Technology.

2

Click on the drop-down arrow and select the required (single) stereotype from the list.

3

Click on the button at the right of the field, and use the 'Stereotype Selector' dialog.

Stereotype Selector

Apply stereotype to element using Stereotype field on Properties window

Use any one of these steps:

Step

Action

See also

1

Type the stereotype(s) to apply as a comma-separated list.

The system checks the loaded and enabled Profiles and Technologies, and the Stereotypes table, for a  stereotype with a matching name and base type. If it finds a match, it links to that stereotype and applies the effects. If it doesn't find a match, it creates a new stereotype name in the Stereotypes table and links to that - the stereotype acting as a simple label.

Therefore:

  • If you don't want the element's stereotype to match with an identically named stereotype located by the system, either:
         -  Disable the Technology that owns the stereotype
         -  Unload the Profile that owns the stereotype, or
         -  Delete the stereotype from the stereotypes table
  • If you do want the stereotype to match to a specific stereotype in a Profile or Technology, load the Profile or enable the Technology.

2

Click on the drop-down arrow and select the required stereotype from the list.

3

Select the 'browse other stereotypes...' option at the end of the drop-down list to use the 'Stereotype Selector' dialog.

Stereotype Selector

Learn more