From a73f21e87de8310ecd2477f8d29c1967d90bded5 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 5 May 2005 13:24:28 +0000 Subject: [PATCH] Accelerator on menu takes care of actionkey --- src/jalview/gui/AlignmentPanel.java | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index a8b80d2..26b470a 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -73,32 +73,13 @@ public class AlignmentPanel extends GAlignmentPanel implements AdjustmentListene av.setSelectionGroup(null); repaint(); break; - case KeyEvent.VK_X: - if(evt.isControlDown()) - alignFrame.cut_actionPerformed(null); - break; - case KeyEvent.VK_C: - if(evt.isControlDown()) - alignFrame.copy_actionPerformed(null); - break; - case KeyEvent.VK_V: - if(evt.isControlDown()) - alignFrame.paste(true); - break; - case KeyEvent.VK_A: - if(evt.isControlDown()) - alignFrame.selectAllSequenceMenuItem_actionPerformed(null); - break; + case KeyEvent.VK_DOWN: alignFrame.moveSelectedSequences(false); break; case KeyEvent.VK_UP: alignFrame.moveSelectedSequences(true); break; - case KeyEvent.VK_F: - if(evt.isControlDown()) - alignFrame.findMenuItem_actionPerformed(null); - break; } } }); -- 1.7.10.2