Author: jm
Date: 2012-10-10 14:14:28 -0700 (Wed, 10 Oct 2012)
New Revision: 30648

Added:
   
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/net/DownloadStatus.java
Log:
Forgot to svn add this.  Should've been part of r30645.

Added: 
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/net/DownloadStatus.java
===================================================================
--- 
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/net/DownloadStatus.java
                          (rev 0)
+++ 
core3/impl/trunk/app-impl/src/main/java/org/cytoscape/app/internal/net/DownloadStatus.java
  2012-10-10 21:14:28 UTC (rev 30648)
@@ -0,0 +1,24 @@
+package org.cytoscape.app.internal.net;
+
+import org.cytoscape.work.TaskMonitor;
+
+public class DownloadStatus {
+       private final TaskMonitor taskMonitor;
+       private volatile boolean isCanceled;
+
+       public DownloadStatus(TaskMonitor taskMonitor) {
+               this.taskMonitor = taskMonitor;
+       }
+       
+       public TaskMonitor getTaskMonitor() {
+               return taskMonitor;
+       }
+       
+       public boolean isCanceled() {
+               return isCanceled;
+       }
+       
+       public void cancel() {
+               isCanceled = 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