Accelerator on menu takes care of actionkey
authoramwaterhouse <Andrew Waterhouse>
Thu, 5 May 2005 13:24:28 +0000 (13:24 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 5 May 2005 13:24:28 +0000 (13:24 +0000)
src/jalview/gui/AlignmentPanel.java

index a8b80d2..26b470a 100755 (executable)
@@ -73,32 +73,13 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene
            av.setSelectionGroup(null);\r
            repaint();\r
            break;\r
-         case KeyEvent.VK_X:\r
-           if(evt.isControlDown())\r
-           alignFrame.cut_actionPerformed(null);\r
-           break;\r
-         case KeyEvent.VK_C:\r
-         if(evt.isControlDown())\r
-           alignFrame.copy_actionPerformed(null);\r
-           break;\r
-         case KeyEvent.VK_V:\r
-          if(evt.isControlDown())\r
-           alignFrame.paste(true);\r
-           break;\r
-         case KeyEvent.VK_A:\r
-         if(evt.isControlDown())\r
-           alignFrame.selectAllSequenceMenuItem_actionPerformed(null);\r
-           break;\r
+\r
         case KeyEvent.VK_DOWN:\r
           alignFrame.moveSelectedSequences(false);\r
           break;\r
         case KeyEvent.VK_UP:\r
           alignFrame.moveSelectedSequences(true);\r
           break;\r
-        case KeyEvent.VK_F:\r
-         if(evt.isControlDown())\r
-          alignFrame.findMenuItem_actionPerformed(null);\r
-          break;\r
        }\r
      }\r
    });\r