Author: scooter
Date: 2012-01-24 17:47:36 -0800 (Tue, 24 Jan 2012)
New Revision: 28100
Modified:
core3/api/trunk/group-api/src/main/java/org/cytoscape/group/CyGroupManager.java
Log:
Added getGroup method
Modified:
core3/api/trunk/group-api/src/main/java/org/cytoscape/group/CyGroupManager.java
===================================================================
---
core3/api/trunk/group-api/src/main/java/org/cytoscape/group/CyGroupManager.java
2012-01-25 01:47:00 UTC (rev 28099)
+++
core3/api/trunk/group-api/src/main/java/org/cytoscape/group/CyGroupManager.java
2012-01-25 01:47:36 UTC (rev 28100)
@@ -73,6 +73,18 @@
public boolean isGroup(CyNode node, CyNetwork network);
/**
+ * Return the group the corresponds to a particular
+ * node in a {@link CyNetwork}.
+ *
+ * @param node the {@link CyNode} to test
+ * @param network the {@link CyNetwork} to test
+ * @return the {@link CyGroup} that corresponds to
+ * the node, or null if this group doesn't exist in
+ * the network
+ */
+ public CyGroup getGroup(CyNode node, CyNetwork network);
+
+ /**
* Destroy a group.
*
* @param group the {@link CyGroup} to remove.
--
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.