PauWare view, an add-on for the PauWare engine Java library

Preamble

PauWare view is a complementary tool for PauWare engine. PauWare view is a graphical simulator of SCXML documents and UML State Machine Diagrams.

Known bugs/limitations (note: these DO NOT apply for PauWare engine itself)

PauWare view is based on PlantUML Java software (plantuml.com). This software does not allow:

Resources

Functioning

Event reception management

Events are received from any PauWare engine app. reusing PauWare view. PauWare view uses a slider to rule the event frequency. This frequency is between 1 sec. and 5 sec. with 3 sec. as default value. Of course, the original PauWare engine app. has its own frequency, which is probably quicker.
3 sec.

Example of simulation: six snapshots of the History states case study

          

Installation requirements (general)

Requirements
Dependencies
Setting up system variables on Apple OS X Sierra
  1. Check that you have a .bash_profile file in your home directory. If not, you may create it as follows: cat > $HOME/.bash_profile
  2. Insert the following lines (by means of the terminal if you don't use an editor) and next press CTRL+D when finished:
    export PauWare_view=<PauWare view location>/public_html, for instance, /Users/Franck/NetBeansProjects/PauWare_view/public_html
    launchctl setenv PauWare_view $PauWare_view

  3. Execute .bash_profile as follows: source .bash_profile
  4. Restart NetBeans so that your Java program is able to get the PauWare_view system variable through System.getenv("PauWare_view");
Setting up system variables on LINUX
  1. Check that you have a .bash_profile file in your home directory. If not, you may create it as follows: cat > $HOME/.bash_profile
  2. Insert the following lines (by means of the terminal if you don't use an editor) and next press CTRL+D when finished:
    export PauWare_view=<PauWare view location>/public_html, for instance, /Users/Franck/NetBeansProjects/PauWare_view/public_html
  3. Execute .bash_profile as follows: source .bash_profile
  4. Restart NetBeans so that your Java program is able to get the PauWare_view system variable through System.getenv("PauWare_view");
Setting up system variables on Windows 10
  1. Use the Windows Control Panel as follows:
    Start > Control Panel > System and Security > System > Advanced system settings > Environment Variables > New...
  2. Set Variable name to PauWare_view and Variable value to <PauWare view location>\public_html
  3. Once defined, you may see PauWare_view in the list of system variables, for instance, C:\Users\Franck\NetBeansProjects\PauWare_view\public_html
  4. Restart NetBeans so that your Java program is able to get the PauWare_view system variable through System.getenv("PauWare_view");