diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-31 03:41:18 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-31 03:41:18 +0000 |
| commit | f32bc24469d0e0d8e184c6a27fe04b13f59d6fb0 (patch) | |
| tree | 2bd245377baf56d2cccad26a9cc56f88b232140b /sources/simulator/VSSimulatorCanvas.java | |
| parent | 28c8f68ecef4b4e30994ae1c1fd201a0cd871f0d (diff) | |
local timed tasks bugfix.
Diffstat (limited to 'sources/simulator/VSSimulatorCanvas.java')
| -rw-r--r-- | sources/simulator/VSSimulatorCanvas.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sources/simulator/VSSimulatorCanvas.java b/sources/simulator/VSSimulatorCanvas.java index a40a88d..d8071bc 100644 --- a/sources/simulator/VSSimulatorCanvas.java +++ b/sources/simulator/VSSimulatorCanvas.java @@ -467,7 +467,7 @@ public class VSSimulatorCanvas extends Canvas implements Runnable { this.prefs = prefs; this.simulation = simulation; this.logging = logging; - this.taskManager = new VSTaskManager(prefs); + this.taskManager = new VSTaskManager(prefs, this); this.messageLines = new LinkedList<VSMessageLine>(); this.messageLinesToRemove = new LinkedList<VSMessageLine>(); this.processes = new Vector<VSProcess>(); @@ -1393,6 +1393,15 @@ public class VSSimulatorCanvas extends Canvas implements Runnable { } /** + * Gets the processes. + * + * @return the processes + */ + public Vector<VSProcess> getProcesses() { + return processes; + } + + /** * Updates from the prefs. Called by the VSSimulatorEditor if values * have been saved. */ |
