Author: scooter
Date: 2010-11-03 17:30:59 -0700 (Wed, 03 Nov 2010)
New Revision: 22709
Modified:
cytoscape/trunk/application/src/main/java/cytoscape/data/readers/XGMMLReader.java
Log:
When we've got groups in our XGMML file, make sure to hide the group node
itself in case the viewer
for this group isn't loaded.
Modified:
cytoscape/trunk/application/src/main/java/cytoscape/data/readers/XGMMLReader.java
===================================================================
---
cytoscape/trunk/application/src/main/java/cytoscape/data/readers/XGMMLReader.java
2010-11-04 00:23:55 UTC (rev 22708)
+++
cytoscape/trunk/application/src/main/java/cytoscape/data/readers/XGMMLReader.java
2010-11-04 00:30:59 UTC (rev 22709)
@@ -726,6 +726,10 @@
}
}
}
+ // Hide all of the group nodes.
+ network.hideNodes(new
ArrayList<CyNode>(groupMap.keySet()));
+
+ // If we have a view, notify the group viewer
if (view != null && view !=
Cytoscape.getNullNetworkView()) {
CyGroupManager.setGroupViewer(newGroup, viewer,
view, true);
}
--
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.