Author: mes
Date: 2012-02-17 16:02:01 -0800 (Fri, 17 Feb 2012)
New Revision: 28323

Modified:
   
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/actions/welcomescreen/CreateNewNetworkPanel.java
Log:
Disabled the the custom create network view task and instead changed the system 
defaults to behave the way we want them to. This still needs significant 
cleanup.

Modified: 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/actions/welcomescreen/CreateNewNetworkPanel.java
===================================================================
--- 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/actions/welcomescreen/CreateNewNetworkPanel.java
       2012-02-17 23:55:47 UTC (rev 28322)
+++ 
core3/impl/trunk/swing-application-impl/src/main/java/org/cytoscape/internal/actions/welcomescreen/CreateNewNetworkPanel.java
       2012-02-18 00:02:01 UTC (rev 28323)
@@ -204,6 +204,8 @@
                final URL url = new URL(dataSourceMap.get(file));
 
                parent.dispose();
+
+               // TODO REFACTOR!!!!!!!!!!!!!!!!!!!
                guiTaskManager.execute(new TaskFactory() {
 
                        @Override
@@ -248,7 +250,8 @@
                        taskMonitor.setProgress(0.01d);
 
                        final Set<CyNetwork> networks = 
this.loadNetworkFileTF.loadCyNetworks(url);
-                       taskMonitor.setProgress(0.4d);
+                       taskMonitor.setProgress(1.0d);
+               /*
                        if (networks.size() != 0) {
                                taskMonitor.setTitle("Creating View for the new 
network");
                                CyNetwork network = networks.iterator().next();
@@ -260,6 +263,7 @@
                                        
insertTasksAfterCurrentTask(createViewTaskFactory.createTaskIterator());
                                }
                        }
+               */
                }
 
        }

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