ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

  • 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 an history
  • Adding an entry/exit point
  • Adding a concurrency line
  • Creating a transition
  • Creating a package
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Operations performed on state-transition diagrams
How to?

Creating a state-transition diagram

To create a state-transition diagram:
  1. Click in the quick access buttons.
    • The creation window appears: click "Architecture", and then "UML".
    • The UML model creation wizard starts.
  2. Select "State-transition diagram".
  3. Specify the UML model into which the diagram is to be inserted.
  4. Choose to edit the diagram directly.
  5. Validate the new state-transition diagram. The new model appears in the editor.

Creating a state

To create a state:
  1. On the "State-transition diagram" tab, in the "Creation" group, click "State". The state creation wizard starts.
  2. 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.
  3. Validate the wizard. A new state appears in the UML model.

Creating an initial state

To create an initial state:
  1. On the "State-transition diagram" tab, in the "Creation" group, click "Initial state". A new initial state appears in the UML model.
  2. Right-click the new initial state and select "Description" in the context menu. The initial state description window opens.
  3. Specify:
    • the type of the initial state.
    • the name of the initial state. This name is displayed in the UML editor.
  4. Validate the description of the initial state.

Creating a final state

To create a final state:
  1. On the "State-transition diagram" tab, in the "Creation" group, click "Final state". A new final state appears in the UML model.
  2. Right-click the new final state and select "Description" in the context menu. The final state description window opens.
  3. Specify:
    • the type of the final state.
    • the name of the final state. This name is displayed in the UML editor.
  4. Validate the description of the final state.

Creating a synchronization bar

To create a synchronization bar:
  1. On the "State-transition diagram" tab, in the "Creation" group, click "Synchronization bar". A new synchronization bar appears in the UML model.
  2. 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:
  1. On the "State-transition diagram" tab, in the "Creation" group, click "Superstate". A new superstate appears in the UML model.
  2. Right-click the new superstate and select "Description" in the context menu. The superstate description window opens.
  3. Specify:
    • the type of the superstate.
    • the name of the superstate. This name is displayed in the UML editor.
  4. Validate the description of the superstate.

Adding an history

To add an history:
  1. Select the superstate in which the history is to be added.
  2. 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:
  1. Select the superstate in which the entry/exit point is to be added.
  2. On the "State-transition diagram" tab, in the "Creation" group, click "Entry/Exit point". A new entry/exit point appears in the selected superstate.
  3. Right-click the new entry/exit point and select "Description" in the context menu. The entry/exit point description window opens.
  4. Specify:
    • the type of the entry/exit point.
    • the name of the entry/exit point. This name is displayed in the UML editor.
  5. Validate the description of the entry/exit point.

Adding a concurrency line

To add a concurrency line:
  1. Select the superstate in which the concurrency line is to be added.
  2. On the "State-transition diagram" tab, in the "Creation" group, click "Concurrency line". A new concurrency line appears in the selected superstate.
  3. Right-click the new concurrency line and select "Description" in the context menu. The concurrency line description window opens.
  4. 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.
  5. Validate the description of the concurrency line.

Creating a transition

To create a transition:
  1. On the "State-transition diagram" tab, in the "Creation" group, click "Transition".
  2. Select the different elements to link. The transition creation wizard starts.
  3. 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.
  4. Validate the transition creation wizard.

Creating a package

To create a package:
  1. On the "State-transition diagram" tab, in the "Creation" group, click "Package". A new package appears in the UML model.
  2. Right-click the new package and select "Description" in the context menu. The package description window opens.
  3. 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.
  4. Validate the description of the package.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment