Author: pwang
Date: 2009-11-24 14:52:17 -0800 (Tue, 24 Nov 2009)
New Revision: 18569
Modified:
cytoscape/trunk/src/cytoscape/visual/ui/NestedNetworkMenuListener.java
Log:
If nested network is deleted, also delete attribute for this node
Modified: cytoscape/trunk/src/cytoscape/visual/ui/NestedNetworkMenuListener.java
===================================================================
--- cytoscape/trunk/src/cytoscape/visual/ui/NestedNetworkMenuListener.java
2009-11-24 22:39:24 UTC (rev 18568)
+++ cytoscape/trunk/src/cytoscape/visual/ui/NestedNetworkMenuListener.java
2009-11-24 22:52:17 UTC (rev 18569)
@@ -117,6 +117,9 @@
return;
}
this.nodeView.getNode().setNestedNetwork(null);
+
+ // also delete attribute for this nested network
+
Cytoscape.getNodeAttributes().deleteAttribute(this.nodeView.getNode().getIdentifier(),
cytoscape.CyNode.NESTED_NETWORK_ID_ATTR);
}
}
--
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.