Author: kono
Date: 2012-05-15 16:40:19 -0700 (Tue, 15 May 2012)
New Revision: 29272

Modified:
   
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/DEdgeView.java
   
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/InnerCanvas.java
Log:
refs #980 Edge selection does not include handles.  To select handles, user 
need to click handle boxes.

Modified: 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/DEdgeView.java
===================================================================
--- 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/DEdgeView.java
      2012-05-15 23:06:17 UTC (rev 29271)
+++ 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/DEdgeView.java
      2012-05-15 23:40:19 UTC (rev 29272)
@@ -328,7 +328,7 @@
                final boolean somethingChanged;
 
                synchronized (m_view.m_lock) {
-                       somethingChanged = selectInternal(true);
+                       somethingChanged = selectInternal(false);
 
                        if (somethingChanged)
                                m_view.m_contentChanged = true;

Modified: 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/InnerCanvas.java
===================================================================
--- 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/InnerCanvas.java
    2012-05-15 23:06:17 UTC (rev 29271)
+++ 
core3/impl/trunk/ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/ding/impl/InnerCanvas.java
    2012-05-15 23:40:19 UTC (rev 29272)
@@ -616,7 +616,7 @@
                        selectedEdges[i] = edges.nextLong();
 
                for (int i = 0; i < selectedEdges.length; i++)
-                       ((DEdgeView) 
m_view.getDEdgeView(selectedEdges[i])).selectInternal(true);
+                       ((DEdgeView) 
m_view.getDEdgeView(selectedEdges[i])).selectInternal(false);
 
                if (selectedEdges.length > 0)
                        m_view.m_contentChanged = true;
@@ -1314,7 +1314,7 @@
                }
 
                public void delegateMouseDragEvent(MouseEvent e) {
-                       // Note: the fake clic are here for OSX but I do not 
see a reason to disable them on other systems
+                       // Note: the fake clicks are here for OSX but I do not 
see a reason to disable them on other systems
                        switch (e.getModifiersEx()) {
                        case MouseEvent.BUTTON1_DOWN_MASK:
                                singleLeftClick(e);

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