X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjbgui%2FGAlignFrame.java;h=04955e32785318abf1e502ea3b7b492734cfeb86;hb=771a739cee6cd92de86c97ad93929c7fc4eecc09;hp=23062e30932ef1b7bc6f0bbb9d3b6ea6f25971e2;hpb=ad0fe6750bb104d1dd26b397aed79b692ca4da8d;p=jalview.git diff --git a/src/jalview/jbgui/GAlignFrame.java b/src/jalview/jbgui/GAlignFrame.java index 23062e3..04955e3 100755 --- a/src/jalview/jbgui/GAlignFrame.java +++ b/src/jalview/jbgui/GAlignFrame.java @@ -287,7 +287,8 @@ public class GAlignFrame extends JInternalFrame protected JCheckBoxMenuItem showGroupConsensus=new JCheckBoxMenuItem(); protected JCheckBoxMenuItem showGroupConservation=new JCheckBoxMenuItem(); - + + private JMenuItem grpsFromSelection = new JMenuItem(); public GAlignFrame() { try @@ -543,6 +544,15 @@ public class GAlignFrame extends JInternalFrame invertSequenceMenuItem_actionPerformed(e); } }); + grpsFromSelection.setText("Make Groups for selection"); + grpsFromSelection.addActionListener(new java.awt.event.ActionListener() + { + public void actionPerformed(ActionEvent e) + { + makeGrpsFromSelection_actionPerformed(e); + } + }); + remove2LeftMenuItem.setText("Remove Left"); remove2LeftMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke( java.awt.event.KeyEvent.VK_L, Toolkit.getDefaultToolkit() @@ -1697,6 +1707,13 @@ public class GAlignFrame extends JInternalFrame selectMenu.add(invertSequenceMenuItem); selectMenu.add(invertColSel); selectMenu.add(deleteGroups); + selectMenu.add(grpsFromSelection); + } + + protected void makeGrpsFromSelection_actionPerformed(ActionEvent e) + { + // TODO Auto-generated method stub + } protected void showGroupConsensus_actionPerformed(ActionEvent e)