send selection on drag over sequence ids
authorjprocter <Jim Procter>
Fri, 12 Jun 2009 15:48:21 +0000 (15:48 +0000)
committerjprocter <Jim Procter>
Fri, 12 Jun 2009 15:48:21 +0000 (15:48 +0000)
src/jalview/gui/IdPanel.java

index f859a16..f5cf03c 100755 (executable)
@@ -163,7 +163,7 @@ public class IdPanel extends JPanel implements MouseListener,
     {
       selectSeqs(lastid + 1, seq);
     }
-
+    
     lastid = seq;
     alignPanel.paintAlignment(true);
   }
@@ -407,7 +407,6 @@ public class IdPanel extends JPanel implements MouseListener,
               av.getAlignment().getSequenceAt(i), true);
     }
   }
-
   /**
    * DOCUMENT ME!
    * 
@@ -420,6 +419,12 @@ public class IdPanel extends JPanel implements MouseListener,
     {
       scrollThread.running = false;
     }
+    if (mouseDragging)
+    {
+     
+      av.sendSelection();
+      
+    }
 
     mouseDragging = false;
     PaintRefresher.Refresh(this, av.getSequenceSetId());