|
|
|
|
|
- Overview
- How to?
- Creating a state-transition diagram
- Creating a state
- Creating an initial state
- Creating a final state
- Creating a synchronization bar
- Creating a superstate
- Adding a history
- Adding an entry/exit point
- Adding a concurrency line
- Creating a transition
- Creating a package
Operations performed on state-transition diagrams
The following paragraphs explain: Creating a state-transition diagram To create a state-transition diagram: - Click
in the quick access buttons. - The new element window appears: click "Architecture", and then "UML".
- The UML model creation wizard starts.
- Select "State-transition diagram".
- Specify the UML model into which the diagram is to be inserted.
- Choose to edit the diagram directly.
- Validate the new state-transition diagram. The new model appears in the editor.
Creating a state To create a state: - On the "State-transition diagram" tab, in the "Creation" group, click "State". The state creation wizard starts.
- Specify:
- the name of the state. This name is displayed in the UML editor.
- the caption of the state.
- the entry and exit actions of the state.
- the actions executed when an event occurs.
- the recurring or significant actions executed in the state.
- Finish the wizard. A new state appears in the UML model.
Creating an initial state To create an initial state: - On the "State-transition diagram" tab, in the "Creation" group, click "Initial state". A new initial state appears in the UML model.
- Right-click the new initial state and select "Description" in the context menu. The initial state description window opens.
- Specify:
- the type of the initial state.
- the name of the initial state. This name is displayed in the UML editor.
- Validate the description of the initial state.
Creating a final state To create a final state: - On the "State-transition diagram" tab, in the "Creation" group, click "Final state". A new final state appears in the UML model.
- Right-click the new final state and select "Description" in the context menu. The final state description window opens.
- Specify:
- the type of the final state.
- the name of the final state. This name is displayed in the UML editor.
- Validate the description of the final state.
Creating a synchronization bar To create a synchronization bar: - On the "State-transition diagram" tab, in the "Creation" group, click "Synchronization bar". A new synchronization bar appears in the UML model.
- The context menu (right click) of the synchronization bar is used to:
- change the orientation of the bar.
- change the color of the bar.
Creating a superstate To create a superstate: - On the "State-transition diagram" tab, in the "Creation" group, click "Superstate". A new superstate appears in the UML model.
- Right-click the new superstate and select "Description" in the context menu. The superstate description window opens.
- Specify:
- the type of the superstate.
- the name of the superstate. This name is displayed in the UML editor.
- Validate the description of the superstate.
Adding a history To add a history: - Select the superstate in which the history is to be added.
- On the "State-transition diagram" tab, in the "Creation" group, click "History". A new history appears in the selected superstate.
Adding an entry/exit point To add an entry/exit point: - Select the superstate in which the entry/exit point is to be added.
- On the "State-transition diagram" tab, in the "Creation" group, click "Entry/Exit point". A new entry/exit point appears in the selected superstate.
- Right-click the new entry/exit point and select "Description" in the context menu. The entry/exit point description window opens.
- Specify:
- the type of the entry/exit point.
- the name of the entry/exit point. This name is displayed in the UML editor.
- Validate the description of the entry/exit point.
Adding a concurrency line To add a concurrency line: - Select the superstate in which the concurrency line is to be added.
- On the "State-transition diagram" tab, in the "Creation" group, click "Concurrency line". A new concurrency line appears in the selected superstate.
- Right-click the new concurrency line and select "Description" in the context menu. The concurrency line description window opens.
- Specify:
- the type of the concurrency line.
- the name of the concurrency line. This name is displayed in the UML editor.
- the caption of the concurrency line.
- the relationships of the concurrency line.
- Validate the description of the concurrency line.
Creating a transition To create a transition: - On the "State-transition diagram" tab, in the "Creation" group, click "Transition".
- Select the different elements to link. The transition creation wizard starts.
- Specify:
- whether the transition is triggered by an event or a timer.
- the name and the parameters of the event.
- the time after which the transition is triggered.
- the name of the action to run when the transition is triggered.
- the condition that will trigger the transition.
- Finish the transition creation wizard.
Creating a package To create a package: - On the "State-transition diagram" tab, in the "Creation" group, click "Package". A new package appears in the UML model.
- Right-click the new package and select "Description" in the context menu. The package description window opens.
- Specify:
- the name of the package. This name is displayed in the package in the UML editor.
- the caption describing the purpose of the package.
- the relationships of the package.
- Validate the description of the package.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|