JAL-2629 remove redundant options from HMMER menu
authorTZVanaalten <TZVanaalten@LS30916.ad.lifesci.dundee.ac.uk>
Mon, 14 Aug 2017 10:43:46 +0000 (11:43 +0100)
committerTZVanaalten <TZVanaalten@LS30916.ad.lifesci.dundee.ac.uk>
Mon, 14 Aug 2017 10:44:01 +0000 (11:44 +0100)
src/jalview/gui/AlignFrame.java
src/jalview/jbgui/GAlignFrame.java

index 2694434..c2a1b94 100644 (file)
@@ -499,16 +499,9 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener,
   {
     hmmerMenu.removeAll();
 
-    hmmerMenu.add(changeHMMERLocation);
-    hmmerMenu.addSeparator();
-
-    hmmerMenu.add(autoAlignSeqs);
-    hmmerMenu.addSeparator();
-
     hmmerMenu.add(hmmAlign);
     hmmerMenu.add(hmmBuild);
     hmmerMenu.add(hmmSearch);
-    
   }
 
   /**
index 6e3c517..74a3940 100755 (executable)
@@ -70,10 +70,6 @@ public class GAlignFrame extends JInternalFrame
 
   protected JMenu hmmerMenu = new JMenu();
 
-  protected JCheckBoxMenuItem autoAlignSeqs = new JCheckBoxMenuItem();
-
-  protected JMenuItem changeHMMERLocation = new JCheckBoxMenuItem();
-
   protected JMenuItem hmmAlign = new JMenuItem();
 
   protected JMenuItem hmmSearch = new JMenuItem();
@@ -1758,18 +1754,6 @@ public class GAlignFrame extends JInternalFrame
       }
 
     });
-    changeHMMERLocation.setText(
-            MessageManager.getString("label.change_hmmer_location"));
-    changeHMMERLocation.addActionListener(new ActionListener()
-    {
-
-      @Override
-      public void actionPerformed(ActionEvent e)
-      {
-        changeHMMERLocation_actionPerformed(e);
-      }
-
-    });
     selectHighlighted.addActionListener(al);
     JMenu tooltipSettingsMenu = new JMenu(
             MessageManager.getString("label.sequence_id_tooltip"));
@@ -1958,20 +1942,9 @@ public class GAlignFrame extends JInternalFrame
    */
   protected void initHMMERMenu()
   {
-    autoAlignSeqs = new JCheckBoxMenuItem(
-            MessageManager.getString("label.auto_align_seqs"));
     hmmAlign = new JMenuItem(MessageManager.getString("label.hmmalign"));
     hmmBuild = new JMenuItem(MessageManager.getString("label.hmmbuild"));
     hmmSearch = new JMenuItem(MessageManager.getString("label.hmmsearch"));
-    autoAlignSeqs.addActionListener(new ActionListener()
-    {
-      @Override
-      public void actionPerformed(ActionEvent e)
-      {
-        autoAlignSeqs_actionPerformed(autoAlignSeqs.isSelected());
-      }
-    });
-
   }
   protected void initColourMenu()
   {