21.07.2013 Views

Modeling with Technology FrameWork

Modeling with Technology FrameWork

Modeling with Technology FrameWork

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Submachine states<br />

Submachine states<br />

a composite state and its substates is similar to the relationship<br />

between a superclass and its subclasses in a complete partition.<br />

To create a composite state and connect it to substates:<br />

1 In the UML Statechart Diagram Tools tool folder, click and hold<br />

on the Composite State tool.<br />

2 Drag into your statechart diagram window and release the<br />

mouse button where you want to place the composite state<br />

graphic.<br />

3 Type a name for the composite state. Then click on the window<br />

background to close the edit box.<br />

4 In the UML Statechart Diagram Tools tool folder, click and hold<br />

on the Substates tool.<br />

5 Drag into your statechart diagram window and release the<br />

mouse button.<br />

6 While holding down the left mouse button, drag a box around<br />

the substates. Thren click on the composite state.<br />

A submachine state is a complex state that is described by<br />

another statechart diagram. After you have created a submachine<br />

state, you can build and anchor to it another statechart diagram<br />

that describes its structure in greater detail.<br />

Creating a submachine state<br />

To create a submachine state:<br />

1 In the UML Statechart Diagram Tools tool folder, click and hold<br />

on the Submachine State tool.<br />

Chapter 18: Statechart Models (UML)<br />

203

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!