Author: ruschein
Date: 2011-08-22 14:00:11 -0700 (Mon, 22 Aug 2011)
New Revision: 26624
Modified:
core3/impl/trunk/io-impl/src/main/java/org/cytoscape/io/internal/read/sif/SIFNetworkReader.java
Log:
Restored task monitor updates.
Modified:
core3/impl/trunk/io-impl/src/main/java/org/cytoscape/io/internal/read/sif/SIFNetworkReader.java
===================================================================
---
core3/impl/trunk/io-impl/src/main/java/org/cytoscape/io/internal/read/sif/SIFNetworkReader.java
2011-08-22 18:40:23 UTC (rev 26623)
+++
core3/impl/trunk/io-impl/src/main/java/org/cytoscape/io/internal/read/sif/SIFNetworkReader.java
2011-08-22 21:00:11 UTC (rev 26624)
@@ -92,8 +92,8 @@
}
private void readInput(TaskMonitor tm) throws IOException {
-// this.parentTaskMonitor = tm;
-// tm.setProgress(0.0);
+ this.parentTaskMonitor = tm;
+ tm.setProgress(0.0);
String line;
final BufferedReader br = new BufferedReader(new
InputStreamReader(inputStream));
@@ -134,7 +134,6 @@
}
br.close();
-if(tm!=null)
tm.setStatusMessage("Network data loaded from data
source.\nCreating Cytoscape network...");
nMap.clear();
@@ -142,7 +141,7 @@
this.cyNetworks = new CyNetwork[] {network};
-// tm.setProgress(1.0);
+ tm.setProgress(1.0);
logger.debug("SIF file loaded: ID = " + network.getSUID());
}
--
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.