Author: pwang
Date: 2010-09-28 15:13:03 -0700 (Tue, 28 Sep 2010)
New Revision: 22093

Modified:
   
core3/layout-api/trunk/src/main/java/org/cytoscape/view/layout/LayoutPartition.java
Log:
Add a new method setTaskMonitor()

Modified: 
core3/layout-api/trunk/src/main/java/org/cytoscape/view/layout/LayoutPartition.java
===================================================================
--- 
core3/layout-api/trunk/src/main/java/org/cytoscape/view/layout/LayoutPartition.java
 2010-09-28 21:37:36 UTC (rev 22092)
+++ 
core3/layout-api/trunk/src/main/java/org/cytoscape/view/layout/LayoutPartition.java
 2010-09-28 22:13:03 UTC (rev 22093)
@@ -53,6 +53,7 @@
 import java.util.Random;
 
 import java.awt.Dimension;
+import org.cytoscape.work.TaskMonitor;
 
 
 /**
@@ -94,6 +95,12 @@
        private static final int m_NODE_HAS_NOT_BEEN_SEEN = 0;
        private static final int m_NODE_HAS_BEEN_SEEN = 1;
 
+       protected TaskMonitor taskMonitor = null;
+       
+       public void setTaskMonitor(final TaskMonitor taskMonitor) {
+               this.taskMonitor = taskMonitor;
+       }
+       
        /**
         * LayoutPartition: use this constructor to create an empty 
LayoutPartition.
         *

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