In UML state machine diagrams, states are divided into
compartments. You can display the action and region compartment
titles of states.
Before you can display compartment titles of states,
you must have a state machine diagram open in the Modeling perspective.
To display the compartment titles of states:
- Select the compartment of a state.
- Right-click the compartment; then click .