Author: kono
Date: 2011-09-13 17:32:50 -0700 (Tue, 13 Sep 2011)
New Revision: 26793
Modified:
core3/impl/trunk/vizmap-impl/impl/src/main/java/org/cytoscape/view/vizmap/internal/VisualStyleImpl.java
Log:
Set method removed. Now layout will not be applied to view. Need to fix event
handling problem somewhere.
Modified:
core3/impl/trunk/vizmap-impl/impl/src/main/java/org/cytoscape/view/vizmap/internal/VisualStyleImpl.java
===================================================================
---
core3/impl/trunk/vizmap-impl/impl/src/main/java/org/cytoscape/view/vizmap/internal/VisualStyleImpl.java
2011-09-14 00:04:08 UTC (rev 26792)
+++
core3/impl/trunk/vizmap-impl/impl/src/main/java/org/cytoscape/view/vizmap/internal/VisualStyleImpl.java
2011-09-14 00:32:50 UTC (rev 26793)
@@ -226,19 +226,6 @@
} else if (!vp.shouldIgnoreDefault()) {
// Ignore defaults flag is OFF. Apply defaults.
applyStyleDefaults((Collection<View<?>>) views, vp);
- } else if (vp.getDefault() instanceof Visualizable == false) {
- Object defVal = getDefaultValue(vp);
-
- // Visual Style does not have default value
- if (defVal == null) {
- this.perVSDefaults.put(vp, vp.getDefault());
- defVal = getDefaultValue(vp);
- }
- for (View<?> view : views) {
- final Object val = view.getVisualProperty(vp);
- if (defVal != val)
- view.setVisualProperty(vp, val);
- }
}
}
--
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.