The Extract State Machine Wizard is used for extracting a selected part of a state machine diagram to a separate diagram. Using this wizard, you can:
To start the Extract State Machine Wizard
The Extract State Machine Wizard consists of three steps:
In this step, you can specify a diagram into which the extracted part will be moved. The new diagram will be created along with a new state machine. The diagram will be created as an inner state machine element. You can also define the element type, name, and the owner. Note, that the diagram name will be the same as the element name. The state machine type is selected by default.
Element name | Description |
---|---|
Type element name | Type the name of the new element wherein the extracted part will be stored. The new element will contain the new diagram. |
Select element type | Open the list and select the element type in which the extracted part and new diagram will be created. The default element type |
Select owner | In the model tree, select a package, profile, or model as an owner of the newly created state machine. You can also:
|
Select diagram type | Open the list and select the diagram type for the extracted part. The default diagram type is a state machine diagram. By using |
After you have specified the new element name, an owner of the element, and the type of the new diagram, do one of the following:
The entry and exit points that will be created for the intersected transitions are listed in this step.
As you can see in the example, in the Access Control source diagram, the intersected transitions are selected for the extraction. After the extraction, in the target diagram, the entry and exit points are created for each intersected transition.
In the Extract State Machine Wizard, the Create entry/exit point step is empty unless there are intersected transitions selected in the source state machine diagram. |
After you have selected the parameters, do one of the following:
A referencing element is created in the source diagram instead of the extracted part. Double-click the referencing element to navigate to the extracted part.
After you have typed the submachine name, do one of the following: