Author: kono
Date: 2009-11-30 17:49:38 -0800 (Mon, 30 Nov 2009)
New Revision: 18616
Modified:
cytoscape/trunk/src/cytoscape/util/NestedNetworkImageManager.java
Log:
Unnecessary method contents removed.
Modified: cytoscape/trunk/src/cytoscape/util/NestedNetworkImageManager.java
===================================================================
--- cytoscape/trunk/src/cytoscape/util/NestedNetworkImageManager.java
2009-12-01 01:03:52 UTC (rev 18615)
+++ cytoscape/trunk/src/cytoscape/util/NestedNetworkImageManager.java
2009-12-01 01:49:38 UTC (rev 18616)
@@ -92,26 +92,7 @@
this.networkToImageMap.remove(network);
}
} else if
(Cytoscape.NETWORK_MODIFIED.equals(evt.getPropertyName())) {
- System.out.println("----------- Got NETWORK_MODIFIED: "
+ ((CyNetwork)evt.getNewValue()).getTitle());
- // Here we have to do 2 things:
- // 1) if the newly created view is that of a network
that is a nested network of any node, we need to recreate an image for
- // this network based on the newly created view and
then rerender all the views that contain parent nodes of this nested
- // network
- // 2) We may have to rerender the newly created view if
any of its nodes have a nested network and therefore need custom
- // graphics
- if (!(evt.getOldValue() instanceof CyNetworkView)) {
- return;
- }
- final CyNetworkView view =
(CyNetworkView)evt.getOldValue();
- final CyNetwork viewNetwork = view.getNetwork();
-// if (networkToImageMap.containsKey(viewNetwork)) {
- // implement 1)
- updateImage(viewNetwork, view);
- refreshViews(viewNetwork);
-// }
-//
-// // implement 2)
- refreshView(viewNetwork, view);
+
}
}
--
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.