Elements like classes, usecases, and subsystems that contain attributes, operations, literals, etc. have compartments to show their attributes and operations in diagram. Class has attribute and operation compartments, subsystem has an operation compartment, and enumeration has literal and operation compartments. Stereotypes of the elements (attributes, operations, etc.) displayed in these compartments can be configured to be shown or hidden.
Procedure for Showing Compartment Stereotype:
1. | Select from the diagram area an element for which to show the compartment stereotype. |
2. | Right-click and select the [Format] -> [Show Compartment Stereotypes] menu. |
3. | Perform the steps above once again to hide the compartment stereotype. |
|