swarm-support
[Top][All Lists]
Advanced

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

Re: Scheduling One Time Events


From: Marcus G. Daniels
Subject: Re: Scheduling One Time Events
Date: 18 Nov 1999 15:26:39 -0800
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "DS" == Darren Schreiber <address@hidden> writes:

DS> I want to draw
DS> the raster right after the build objects phase is completed.  Then
DS> I want to have the raster update at the end of every step in the
DS> modelSwarm.

Usually GUI update actions are done in a single ActionGroup, as you
have, i.e. by default they execute in the order they are put in the
ActionGroup.  In fact, that needn't be the default, and often there is
an important ordering to the GUI update actions.  For example, you
have an eraseRaster before the display.  (In other cases, when using
ActionGroup, the intent is to communicate the fact that the 
actions are logically concurrent, so that Swarm could (conceivably) 
physically parallelize the actions.)  

In the former case, you're better off making a single update method that
calls the GUI update methods in the required order and scheduling it
with at:createActionTo:message:.  Then it is simply a matter of calling
the update method at the end of buildObjects.


                  ==================================
   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]