[ Team LiB ] Previous Section Next Section

Superstates

Often, you'll find that several states share common transitions and internal activities. In these cases, you can make them substates and move the shared behavior into a superstate, as in Figure 10.4. Without the superstate, you would have to draw a cancel transition for all three states within the Enter Connection Details state.

Figure 10.4. Superstate with nested substates

graphics/10fig04.gif

    [ Team LiB ] Previous Section Next Section