swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: control panel problem


From: Marcus G. Daniels
Subject: Re: control panel problem
Date: 19 Apr 2000 09:32:22 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "CS" == Charles Staelin <address@hidden> writes:

CS> Here's a variation of the checkForDone method that seems to do
CS> what I'd like, hopefully without doing any serious damage.  When
CS> modelSwarm signals that it is done by setting simulationFinished,
CS> checkForDone both terminates and drops the modelSwarm activity (is
CS> there any reason not to just drop?).

It's ok to drop the activity, but it may be more clear if you
ask the activity its status.  Right now that's kind of awkward in Java...

modelSwarm.getActivity ().getStatus ().getName ().equals ("Completed")

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]