Author: mes
Date: 2009-12-18 11:44:32 -0800 (Fri, 18 Dec 2009)
New Revision: 18788

Modified:
   cytoscape/trunk/lib/ding.jar
   cytoscape/trunk/src/cytoscape/Cytoscape.java
Log:
removed a drawsnapshot call from Cytoscape.java

Modified: cytoscape/trunk/lib/ding.jar
===================================================================
(Binary files differ)

Modified: cytoscape/trunk/src/cytoscape/Cytoscape.java
===================================================================
--- cytoscape/trunk/src/cytoscape/Cytoscape.java        2009-12-18 19:43:10 UTC 
(rev 18787)
+++ cytoscape/trunk/src/cytoscape/Cytoscape.java        2009-12-18 19:44:32 UTC 
(rev 18788)
@@ -1419,18 +1419,10 @@
                        
Cytoscape.getDesktop().getNetworkViewManager().getDesktopPane().setVisible(false);
                        for (CyNetwork network : networks) {
                                getNetworkMap().put(network.getIdentifier(), 
network);
-                               if (create_view && (network.getNodeCount() < 
Integer.parseInt(CytoscapeInit.getProperties()
-                                                                               
              .getProperty("viewThreshold")))) {
+                               if (create_view && (network.getNodeCount() < 
Integer.parseInt(CytoscapeInit.getProperties() .getProperty("viewThreshold")))) 
{
                                        createNetworkView(network);
                                }
                        }
-                       final CyAttributes netAttr = 
Cytoscape.getNetworkAttributes();
-                       for (CyNetworkView dview : 
Cytoscape.getNetworkViewMap().values()) {
-                               final List<String> parents = 
netAttr.getListAttribute(dview.getNetwork().getIdentifier(), 
CyNode.PARENT_NODES_ATTR);
-                               if (parents != null && parents.size() != 0) {
-                                       ((DingNetworkView)dview).getSnapshot(1, 
1);
-                               }
-                       }
                        
Cytoscape.getDesktop().getNetworkViewManager().getDesktopPane().setVisible(true);
                        
                        return networks.get(0); // Root network.

--

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