-
Notifications
You must be signed in to change notification settings - Fork 1
Project Manager Extension
tomvej edited this page Dec 10, 2012
·
1 revision
This extensions provides graphical user interface to manage parasim projects. See also [parasim GUI manual](https://github.com/sybila/parasim/wiki/Parasim-GUI).
Include in `pom.xml`:
```xml
org.sybila.parasim.extension
project-manager-simple
${parasim.version}
```
This extension provides an instance of [`ProjectManager`](https://github.com/sybila/parasim/blob/master/extensions/project-manager-api/src/main/java/org/sybila/parasim/extension/projectmanager/api/ProjectManager.java), which represents the swing window.
For this window to work properly, an ExperimentListener
has to be registered. Methods of this listener are called whenever the user clicks "Launch Experiment" or "Show Results" button. Note: These methods are called in the Event Dispatcher thread. Use SwingWorker
s for any time-consuming processes, such as simulation.
When the window closes, all WindowListener
s are informed via windowClosed
method.
For example of usage see parasim GUI's Main
.