Chapter 5 Building Dynamic Diagrams


Decomposed states and sub-states

A decomposed state is an state that contains sub-states.

The decomposed state symbol has a special icon in its bottom right-hand corner.


There is no limitation on the number of decompositions. A sub-state can itself be decomposed into further sub-states, and so on.

The decomposed state behaves like a specialized package or container, and always contains a sub-state diagram.

Note   Including decomposed states
To display all states in the List of Activities, including those belonging to decomposed states, click the Include Composite Activities tool.

You can create several sub-state diagrams within a decomposed state, but this is not recommended because being in a sub-state diagram means being within the context of an state. Unless you want to design some exception cases like error management for example, it would not be consistent to create too many sub-state diagrams within a decomposed state.

You cannot create a package or any other UML diagram type in a decomposed state, but you can use shortcuts to packages.

 


Copyright (C) 2006. Sybase Inc. All rights reserved.