Author: scooter
Date: 2008-09-04 19:19:12 -0700 (Thu, 04 Sep 2008)
New Revision: 14839

Modified:
   
csplugins/trunk/ucsf/scooter/clusterMaker/src/clusterMaker/ui/NetworkColorDialog.java
Log:
Stop when I say stop!


Modified: 
csplugins/trunk/ucsf/scooter/clusterMaker/src/clusterMaker/ui/NetworkColorDialog.java
===================================================================
--- 
csplugins/trunk/ucsf/scooter/clusterMaker/src/clusterMaker/ui/NetworkColorDialog.java
       2008-09-04 00:29:06 UTC (rev 14838)
+++ 
csplugins/trunk/ucsf/scooter/clusterMaker/src/clusterMaker/ui/NetworkColorDialog.java
       2008-09-05 02:19:12 UTC (rev 14839)
@@ -408,7 +408,7 @@
                public void run() {
                        while (animating) {
                                // Cycle through the vizmaps we created
-                               for (int i = 0; i < styles.length; i++) {
+                               for (int i = 0; i < styles.length && animating; 
i++) {
                                        
Cytoscape.getCurrentNetworkView().applyVizmapper(styles[i]);
                                        // Do we need to sleep a little????
                                        // 
Cytoscape.getCurrentNetworkView().redrawGraph(false, true);


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to