[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Control Panel
From: |
Doug Donalson |
Subject: |
Re: Control Panel |
Date: |
Tue, 15 Aug 2000 13:53:42 -0700 |
You can make your own "save" button by adding a procedure call to the model
swarm "probe".
In your model swarm, create a procedure and call it something like
"saveOutput".
In modelSwarm "createBegin" you would add this to the probe messages:
[probeMap addProbe: [probeLibrary getProbeForVariable: "saveOutput"
inClass: [self class]]];
When the modelSwarmProbe comes up, you will see a button that says
"saveOutput" that when pressed will execute the procedure "saveOutput".
If this wasn't what you were looking for, please ignore the previous
message. [grin]
Cheers,
D4
----- Original Message -----
From: <address@hidden>
To: <address@hidden>
Sent: Tuesday, August 15, 2000 1:32 PM
Subject: Control Panel
> Hi, I'm a fairly new swarm programmer who is using Java. Is there any way
to catch messages sent to the control panel so that, say, you could program
a different response to a user's clicking the Save button? Thanks for any
help anyone can provide.
> --Andrew Lovett
>
>
> ==================================
> Swarm-Modelling is for discussion of Simulation and Modelling
techniques
> esp. using Swarm. For list administration needs (esp.
[un]subscribing),
> please send a message to <address@hidden> with "help" in the
> body of the message.
> ==================================
>
==================================
Swarm-Modelling is for discussion of Simulation and Modelling techniques
esp. using Swarm. For list administration needs (esp. [un]subscribing),
please send a message to <address@hidden> with "help" in the
body of the message.
==================================