Customization > Extensibility Through Profiles, Stereotypes, Tag Definitions and Scripts > Extensibility through stereotype scripts and script items > Defining diagram symbol compartments through stereotypes > Applying a stereotype's compartments to a diagram symbol
  
Applying a stereotype's compartments to a diagram symbol
You can create compartments that display Stereotype and Tag Definition information for only the following diagram items: Classes, Data Types, Interfaces and Signals on Composite Structure Diagrams and Class Diagrams, Parts on Composite Structure Diagrams, Instances on Object Diagrams, Actions on General Flow Diagrams, and Notes on all diagram types when any item is linked to that Note.
To apply a stereotype's compartments to a diagram symbol:
1. Apply the Stereotype to the diagram symbol or its underlying item. See Applying a stereotype to a model item.
* 
If the Stereotype has been set up to be automatically applied to valid model item types, the Stereotype should be applied to the diagram symbol or its underlying item.
2. Right-click the diagram symbol, and then click View Options.
3. Click the Style entry.
4. Click the Stereotype option.
5. From the list, select the Stereotype you want to apply.
6. Click OK.