JAL-2629 implement hmmbuild
[jalview.git] / src / jalview / jbgui / GAlignFrame.java
index ea56bbb..3f55752 100755 (executable)
@@ -40,6 +40,7 @@ import java.awt.event.FocusEvent;
 import java.awt.event.KeyEvent;
 import java.awt.event.MouseAdapter;
 import java.awt.event.MouseEvent;
+import java.io.IOException;
 import java.util.HashMap;
 import java.util.Map;
 
@@ -1690,6 +1691,28 @@ public class GAlignFrame extends JInternalFrame
         selectHighlightedColumns_actionPerformed(actionEvent);
       }
     };
+    hmmBuild.setText(MessageManager.getString("label.hmmbuild"));
+    hmmBuild.addActionListener(new ActionListener()
+    {
+
+      @Override
+      public void actionPerformed(ActionEvent e)
+      {
+        try
+        {
+          hmmBuild_actionPerformed(e);
+        } catch (IOException e1)
+        {
+          // TODO Auto-generated catch block
+          e1.printStackTrace();
+        } catch (InterruptedException e1)
+        {
+          // TODO Auto-generated catch block
+          e1.printStackTrace();
+        }
+      }
+
+    });
     selectHighlighted.addActionListener(al);
     JMenu tooltipSettingsMenu = new JMenu(
             MessageManager.getString("label.sequence_id_tooltip"));
@@ -2381,6 +2404,7 @@ public class GAlignFrame extends JInternalFrame
   }
 
   protected void hmmBuild_actionPerformed(ActionEvent e)
+          throws IOException, InterruptedException
   {
   }