Author: kono
Date: 2011-05-31 15:34:57 -0700 (Tue, 31 May 2011)
New Revision: 25609

Modified:
   
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DEdgeView.java
Log:
Show/Hide edge problems had been fixed.

Modified: 
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DEdgeView.java
===================================================================
--- 
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DEdgeView.java
     2011-05-31 21:53:47 UTC (rev 25608)
+++ 
core3/ding-presentation-impl/trunk/src/main/java/org/cytoscape/ding/impl/DEdgeView.java
     2011-05-31 22:34:57 UTC (rev 25609)
@@ -42,10 +42,7 @@
 import org.cytoscape.ding.Bend;
 import org.cytoscape.ding.EdgeView;
 import org.cytoscape.ding.GraphView;
-import org.cytoscape.ding.GraphViewChangeListener;
 import org.cytoscape.ding.Label;
-import org.cytoscape.ding.impl.events.GraphViewEdgesSelectedEvent;
-import org.cytoscape.ding.impl.events.GraphViewEdgesUnselectedEvent;
 import org.cytoscape.graph.render.immed.EdgeAnchors;
 import org.cytoscape.graph.render.immed.GraphGraphics;
 import org.cytoscape.model.CyEdge;
@@ -1487,7 +1484,7 @@
                        setFont(getFont().deriveFont(((Integer) 
value).floatValue()));
                } else if (vp == MinimalVisualLexicon.EDGE_LABEL_COLOR) {
                        setTextPaint((Paint) value);
-               } else if (vp == MinimalVisualLexicon.NODE_VISIBLE) {
+               } else if (vp == MinimalVisualLexicon.EDGE_VISIBLE) {
                        if (((Boolean) value).booleanValue())
                                m_view.showGraphObject(this);
                        else

-- 
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.

Reply via email to