Author: ruschein
Date: 2009-12-01 16:04:26 -0800 (Tue, 01 Dec 2009)
New Revision: 18637
Modified:
cytoscape/trunk/src/cytoscape/util/NestedNetworkViewUpdater.java
Log:
Fixed a bug in the setting of nested network views from within the
NestedNetworkViewUpdater.
Modified: cytoscape/trunk/src/cytoscape/util/NestedNetworkViewUpdater.java
===================================================================
--- cytoscape/trunk/src/cytoscape/util/NestedNetworkViewUpdater.java
2009-12-01 23:53:32 UTC (rev 18636)
+++ cytoscape/trunk/src/cytoscape/util/NestedNetworkViewUpdater.java
2009-12-02 00:04:26 UTC (rev 18637)
@@ -43,8 +43,8 @@
// If this view contains a parentNode,
then update its nested network view.
final NodeView nodeView =
networkView.getNodeView(Cytoscape.getCyNode(parentNode));
if (nodeView != null) {
-
((DNodeView)nodeView).setNestedNetworkView((DGraphView)
Cytoscape.getNetworkView(
- created ?
((CyNetwork)nodeView.getNode().getNestedNetwork()).getIdentifier() : null));
+
((DNodeView)nodeView).setNestedNetworkView(
+ created ? (DGraphView)
Cytoscape.getNetworkView(((CyNetwork)nodeView.getNode().getNestedNetwork()).getIdentifier())
: null);
}
}
}
--
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.