Author: jm
Date: 2011-01-21 09:05:14 -0800 (Fri, 21 Jan 2011)
New Revision: 23537
Modified:
core3/filter-impl/trunk/src/main/java/org/cytoscape/filter/internal/filters/view/FilterMainPanel.java
Log:
Fixed issue where selection event was being treated as an attribute change
Modified:
core3/filter-impl/trunk/src/main/java/org/cytoscape/filter/internal/filters/view/FilterMainPanel.java
===================================================================
---
core3/filter-impl/trunk/src/main/java/org/cytoscape/filter/internal/filters/view/FilterMainPanel.java
2011-01-21 01:45:54 UTC (rev 23536)
+++
core3/filter-impl/trunk/src/main/java/org/cytoscape/filter/internal/filters/view/FilterMainPanel.java
2011-01-21 17:05:14 UTC (rev 23537)
@@ -205,6 +205,16 @@
@Override
public void handleRowSets(CyTable table, List<RowSet> rowSets) {
+ boolean isSelection = true;
+ for (RowSet change : rowSets) {
+ if (!change.getColumn().equals(CyNetwork.SELECTED)) {
+ isSelection = false;
+ break;
+ }
+ }
+ if (isSelection) {
+ return;
+ }
handleAttributesChanged();
}
--
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.