WebSPN 3.3

User interface



The main goal in the development of the user interface was the easeof use, giving the user a tool that resembles a common drawing program.
Another purpose was the coherence of the possible operations, and theconsistency of the result obtained.

Once the program starts, either as an applet or an application, youwill be presented the schematic editor:


 
where we can indentify several function areas:Another key element of the new interface is the propertyinspector, a window that shows all properties of the selected element(the last selected).

Menu bar

The menu bar provides the usual voices for File, Edit,Options and Help operations, plus the specific Draw, Analisys and Toolsvoices. The Schematic item represent a new feature, since it shows the names of the opened schematics, letting the user to switch from oneto another.

If the program was launched as an application, the Options menucontains a voice to set the address of the server that can analyze thePetri net.

FILE MENU
Using the File menu, you can Open,Close,Save and create a New net model.

You can export your model into different types of formats (Export) and you can import a model represented by uml language (Import UML Model).

Finally you can open the newer files and you can close the program (Quit)

EDIT MENU
Using Edit menu you can Cut Copy Paste and Delete each element drawn in the graphics.

In addition, you can select Grid check button to display a grid on the background of graphics.

DRAW MENU
Using Draw menu you can select the graphical element as a Place a Transition an Arc or a Label to draw.

You can also select mouse Pointer.

ANALISYS MENU
Using Analisys menu you can start the analysis of the current model (Start analisys).
You can open the monitoring window (Analysis Monitoring) that allows you to view the analyzed job of current model that still need to be downloaded from server.
If any analysis of current model has yet to be launched, or if you have already downloaded the analysis results from server, Analysis Monitoring allows you to view all analyzed jobs of all models that still to be downloaded from server.

In addition you can simulate the enabling of transitions and moving token (Start token game)

OPTIONS MENU
Using Options menu you can modify the Grid size.
You can select three different zoom level on graphics (Zoom).
You can Resize Area on graphics.

You can change the server must perform the analysis of your models by specifying IP address and port (Server).
Finally you can open property manager of the graphical element (Show Property window).

SCHEMATIC MENU
Using Schematic menu you can easily select one of your open models.

TOOLS MENU
Using Tools menu you can...

HELP MENU
Using Help menu you can learn how to use webspn client (Contents) and how you can specify the measures to carried out on a model (Measures).


Control bar

The control bar contains a set of buttons that represent ashortcut for the most common functions that can be found inside the menu.The following image show the control bar with the function associated toeach button.


Where:
  • Start stands for Start the token game (the user canfire an enabled transition by clicking on it)
  • Stop stands for Stop the token game
  • Property stands for Show the property inspector, awindow from which the user can change almost any property of the components.

  • Component bar

    The component bar contains a set of buttons that represent the graphical elements that a Petri net const of. There's a Pointer button, to selecta previously placed component, and a Node button, to modify an alreadycreated arc path, also.

    Status bar

    A bar where the program shows  the current operation and/orsuggestions about the correct use of the program.

    Draw area

    This is the area where the user can draw the Petri net. Thecontrol bar shows the zoom level the draw area is using to represent thenet. Working with a zoom level smaller then 100%, is possible to view theentire schematic without scrolling the window.

    A red line limits the useful draw area. Is not possible to put componentoutside this limit.


    Tools

    Actually is integrated in WebSPN a graphics tool that we developed named Fplot (Function plot).
    Fplot plot measures files that you can obtain specifying in the Measures box a measure that contains the keyword cycle.It have an intutitive and easy to use GUI, like is shown in the figure below.

    It offers to users the possibility to customize graphs with labels and some geometric shapes can be selected from the component bar on the left side.