PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
  • Overview
  • How to proceed?
  • Creating a state-transition diagram
  • Creating a state
  • Creating an initial state
  • Creating a final state
  • Creating a synchronization bar
  • Creating a super-state
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Operations performed on a state-transition diagram
How to proceed?

Creating a state-transition diagram

To create a state-transition diagram:
  1. Click among the quick access buttons.
    • The element creation window appears: click "Architecture" then "UML".
    • The UML model creation wizard starts.
  2. Select "State-transition diagram".
  3. Specify the UML model into which the diagram will be inserted.
  4. Choose to edit the diagram directly.
  5. Validate the creation of the state-transition diagram. The created model becomes the current model.

Creating a state

To create a state:
  1. On the "State-transition diagram" pane, 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 action perform when entering into the state and when exiting from the state.
    • the actions run when an event occurs.
    • the recurrent or significant actions run 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" pane, in the "Creation" group, click "Initial state". A new initial state appears in the UML model.
  2. Select "Description" in the popup menu of the new initial state (right click). The window for specifying the initial state is displayed.
  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 initial state.

Creating a final state

To create a final state:
  1. On the "State-transition diagram" pane, in the "Creation" group, click "Final state". A new final state appears in the UML model.
  2. Select "Description" in the popup menu of the new final state (right click). The window for specifying the final state is displayed.
  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 final state.

Creating a synchronization bar

To create a synchronization bar:
  1. On the "State-transition diagram" pane, in the "Creation" group, click "Synchronization bar". A new synchronization bar appears in the UML model.
  2. The popup menu (right click) of the synchronization bar is used to:
    • change the orientation of the bar.
    • change the color of the bar.

Creating a super-state

To create a super-state:
  1. On the "State-transition diagram" pane, in the "Creation" group, click "Super state". A new super-state appears in the UML model.
  2. Select "Description" in the popup menu of the new super-state (right click). The window for specifying the super-state is displayed.
  3. Specify:
    • the type of the super state.
    • the name of the super state. This name is displayed in the UML editor.
  4. Validate the description of the super-state.

Adding an history

To add an history:
  1. Select the super-state into which the history will be added.
  2. On the "State-transition diagram" pane, in the "Creation" group, click "History". A new history appears in the selected super-state.

Adding an entry/exit point

To add an entry/exit point:
  1. Select the super-state into which the entrey/exit point must be added.
  2. On the "State-transition diagram" pane, in the "Creation" group, click "Entry/Exit point". A new entry/exit point appears in the selected super-state.
  3. Select "Description" in the popup menu of the new entry/exit point (right click). The window for specifying the new entry/exit point is displayed.
  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 super-state into which the concurrency line must be added.
  2. On the "State-transition diagram" pane, in the "Creation" group, click "Concurrency line". A new concurrency line appears in the selected super-state.
  3. Select "Description" in the popup menu of new concurrency line (right click). The window for specifying the concurrency line is displayed.
  4. Specify:
    • the type of concurrency line.
    • the name of concurrency line. This name is displayed in the UML editor.
    • the caption of concurrency line.
    • the relationships of concurrency line.
  5. Validate the description of concurrency line.

Creating a transition

To create a transition:
  1. On the "State-transition diagram" pane, 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 by a temporization.
    • the name of the event and its parameters.
    • the time after which the transition is triggered.
    • the name of the action to run when the transition is triggered.
    • the condition for triggering the transition.
  4. Validate the transition creation wizard.

Creating a package

To create a package:
  1. On the "State-transition diagram" pane, in the "Creation" group, click "Package". A new package appears in the UML model.
  2. Select "Description" in the popup menu of the new package (right click). The window for specifying the package is displayed.
  3. Specify:
    • the name of the package. This name is displayed in the package in the UML editor.
    • the caption of the package describing the purpose of the package.
    • the relations 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