Grouping state machine model elements into a new composite state

In UML modeling, you can group selected model elements in a state machine into a new state to hide the details of complex state machines.

Before you can group model elements in a state machine into a new composite state, you must have a state machine diagram open in the Modeling perspective.
To group state machine model elements into a new composite state:
  1. Select the states that you want to include in a new state.
  2. Right-click the selection; then click Compose > Aggregate. In the diagram editor, the selected states are displayed inside a newly created composite state. In the Model Explorer, all selected model elements are displayed under the newly created state.
Related concepts
Activities for simple, composite and orthogonal states
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.