Author: apico
Date: 2008-09-16 14:52:16 -0700 (Tue, 16 Sep 2008)
New Revision: 14915

Modified:
   
csplugins/trunk/agilent/kuchinsky/BubbleRouter/src/cytoscape/bubbleRouter/BubbleRouterPlugin.java
Log:
commented out redrawGraph in move region code to improve performance with large 
networks loaded

Modified: 
csplugins/trunk/agilent/kuchinsky/BubbleRouter/src/cytoscape/bubbleRouter/BubbleRouterPlugin.java
===================================================================
--- 
csplugins/trunk/agilent/kuchinsky/BubbleRouter/src/cytoscape/bubbleRouter/BubbleRouterPlugin.java
   2008-09-16 00:35:01 UTC (rev 14914)
+++ 
csplugins/trunk/agilent/kuchinsky/BubbleRouter/src/cytoscape/bubbleRouter/BubbleRouterPlugin.java
   2008-09-16 21:52:16 UTC (rev 14915)
@@ -444,7 +444,7 @@
         */
        public void mouseDragged(MouseEvent e) {
                
-               if (!e.isShiftDown()) { return; }
+               //if (!e.isShiftDown()) { return; }
 
                onEdge = calculateOnEdge(e.getPoint(), pickedRegion);
 
@@ -483,7 +483,8 @@
                                                .getY1(), pickedRegion.getW1(), 
pickedRegion.getH1());
                                
NodeViewsTransformer.transform(boundedNodeViews, pickedRegion
                                                .getBounds());
-                               
Cytoscape.getCurrentNetworkView().redrawGraph(true, true);
+                               //not needed and significantly slows move 
performance
+                               
//Cytoscape.getCurrentNetworkView().redrawGraph(true, true);
                                pickedRegion.repaint();
                        }
 
@@ -520,7 +521,7 @@
         */
        public void mouseReleased(MouseEvent e) {
                
-               if (!e.isShiftDown()) { return; }
+               //if (!e.isShiftDown()) { return; }
                
                if (dragging) {
                        dragging = false;


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