Author: kono
Date: 2010-10-07 13:14:23 -0700 (Thu, 07 Oct 2010)
New Revision: 22181
Modified:
cytoscape/trunk/application/src/main/java/cytoscape/visual/VisualPropertyDependency.java
cytoscape/trunk/application/src/main/java/cytoscape/visual/properties/EdgeSourceArrowOpacityProp.java
cytoscape/trunk/application/src/main/java/cytoscape/visual/properties/EdgeTargetArrowOpacityProp.java
Log:
Edge arrow opacity synchronization problem fixed. Now it always follows the
value set to the edge.
Modified:
cytoscape/trunk/application/src/main/java/cytoscape/visual/VisualPropertyDependency.java
===================================================================
---
cytoscape/trunk/application/src/main/java/cytoscape/visual/VisualPropertyDependency.java
2010-10-07 16:03:14 UTC (rev 22180)
+++
cytoscape/trunk/application/src/main/java/cytoscape/visual/VisualPropertyDependency.java
2010-10-07 20:14:23 UTC (rev 22181)
@@ -53,7 +53,7 @@
NODE_SIZE_LOCKED("nodeSizeLocked",true, "Lock Node
Width/Height"),
ARROW_COLOR_MATCHES_EDGE("arrowColorMatchesEdge",false,"Make
Arrow Color Match Edge Color"),
- // From Cytoscape 2.8: Synchlonize node size to custom
cgraphics size.
+ // From Cytoscape 2.8: Synchronize node size to custom
cgraphics size.
NODE_CUSTOM_GRAPHICS_SIZE_SYNC("nodeCustomGraphicsSizeSync",
true, "Synchronize Custom Graphics Size to Node Size"),
// From Cytoscape 2.8: Create new color based on label
background.
Modified:
cytoscape/trunk/application/src/main/java/cytoscape/visual/properties/EdgeSourceArrowOpacityProp.java
===================================================================
---
cytoscape/trunk/application/src/main/java/cytoscape/visual/properties/EdgeSourceArrowOpacityProp.java
2010-10-07 16:03:14 UTC (rev 22180)
+++
cytoscape/trunk/application/src/main/java/cytoscape/visual/properties/EdgeSourceArrowOpacityProp.java
2010-10-07 20:14:23 UTC (rev 22181)
@@ -114,7 +114,7 @@
if ( dep != null && dep.check(ARROW_COLOR_MATCHES_EDGE) ) {
if (ev.getUnselectedPaint() != ev.getSourceEdgeEndPaint())
ev.setSourceEdgeEndPaint(ev.getUnselectedPaint());
- } else {
+ } else {
final Color oldPaint = (Color)
ev.getSourceEdgeEndPaint();
Integer tp = oldPaint.getAlpha();
Modified:
cytoscape/trunk/application/src/main/java/cytoscape/visual/properties/EdgeTargetArrowOpacityProp.java
===================================================================
---
cytoscape/trunk/application/src/main/java/cytoscape/visual/properties/EdgeTargetArrowOpacityProp.java
2010-10-07 16:03:14 UTC (rev 22180)
+++
cytoscape/trunk/application/src/main/java/cytoscape/visual/properties/EdgeTargetArrowOpacityProp.java
2010-10-07 20:14:23 UTC (rev 22181)
@@ -111,8 +111,8 @@
return;
if ( dep != null && dep.check(ARROW_COLOR_MATCHES_EDGE) ) {
- if (ev.getUnselectedPaint() !=
ev.getSourceEdgeEndPaint())
-
ev.setSourceEdgeEndPaint(ev.getUnselectedPaint());
+ if (ev.getUnselectedPaint() !=
ev.getTargetEdgeEndPaint())
+
ev.setTargetEdgeEndPaint(ev.getUnselectedPaint());
} else {
final Color oldPaint = (Color)
ev.getTargetEdgeEndPaint();
Integer tp = oldPaint.getAlpha();
--
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.