Hide vamsas settings for build
authoramwaterhouse <Andrew Waterhouse>
Thu, 17 Nov 2005 15:17:40 +0000 (15:17 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 17 Nov 2005 15:17:40 +0000 (15:17 +0000)
src/jalview/jbgui/GAlignFrame.java
src/jalview/jbgui/GDesktop.java

index 2909727..f7b1342 100755 (executable)
@@ -115,7 +115,7 @@ public class GAlignFrame
   protected ButtonGroup colours = new ButtonGroup();\r
   JMenuItem vamsasStore = new JMenuItem();\r
   protected JCheckBoxMenuItem showTranslation = new JCheckBoxMenuItem();\r
-  protected JTabbedPane tabbedPane = new JTabbedPane();\r
+  //protected JTabbedPane tabbedPane = new JTabbedPane();\r
   public JMenuItem featureSettings = new JMenuItem();\r
   public JCheckBoxMenuItem seqDBRef = new JCheckBoxMenuItem();\r
   JMenuItem fetchSequence = new JMenuItem();\r
@@ -477,21 +477,6 @@ public class GAlignFrame
     });\r
     this.getContentPane().setLayout(borderLayout1);\r
     alignFrameMenuBar.setFont(new java.awt.Font("Verdana", 0, 11));\r
-    alignFrameMenuBar.addAncestorListener(new AncestorListener()\r
-    {\r
-      public void ancestorAdded(AncestorEvent event)\r
-      {\r
-        alignFrameMenuBar_ancestorAdded(event);\r
-      }\r
-\r
-      public void ancestorRemoved(AncestorEvent event)\r
-      {\r
-      }\r
-\r
-      public void ancestorMoved(AncestorEvent event)\r
-      {\r
-      }\r
-    });\r
     statusBar.setBackground(Color.white);\r
     statusBar.setFont(new java.awt.Font("Verdana", 0, 11));\r
     statusBar.setBorder(BorderFactory.createLineBorder(Color.black));\r
@@ -913,6 +898,7 @@ public class GAlignFrame
         padGapsMenuitem_actionPerformed(e);\r
       }\r
     });\r
+    vamsasStore.setVisible(false);\r
     vamsasStore.setText("VAMSAS store");\r
     vamsasStore.addActionListener(new ActionListener()\r
     {\r
@@ -930,14 +916,14 @@ public class GAlignFrame
       }\r
     });\r
 \r
-    tabbedPane.addChangeListener(new ChangeListener()\r
+   /* tabbedPane.addChangeListener(new ChangeListener()\r
         {\r
           public void stateChanged(ChangeEvent ece)\r
           {\r
 \r
             tabSelected();\r
           }\r
-        });\r
+        });*/\r
     featureSettings.setEnabled(false);\r
     featureSettings.setText("Feature Settings...");\r
     featureSettings.addActionListener(new ActionListener()\r
@@ -1049,7 +1035,7 @@ public class GAlignFrame
     webServiceNoServices=new JMenuItem("<No Services>");\r
     webService.add(webServiceNoServices);\r
     this.getContentPane().add(statusBar, BorderLayout.SOUTH);\r
-    this.getContentPane().add(tabbedPane, java.awt.BorderLayout.CENTER);\r
+  //  this.getContentPane().add(tabbedPane, java.awt.BorderLayout.CENTER);\r
     jMenu1.add(pasteNew);\r
     jMenu1.add(pasteThis);\r
     sort.add(sortIDMenuItem);\r
@@ -1176,10 +1162,6 @@ public class GAlignFrame
   {\r
   }\r
 \r
-  protected void clustalAlignMenuItem_actionPerformed(ActionEvent e)\r
-  {\r
-  }\r
-\r
   protected void clustalColour_actionPerformed(ActionEvent e)\r
   {\r
   }\r
@@ -1334,17 +1316,7 @@ public class GAlignFrame
   {\r
   }\r
 \r
-  protected void preferences_actionPerformed(ActionEvent e)\r
-  {\r
-  }\r
-\r
-  protected void msaAlignMenuItem_actionPerformed(ActionEvent e)\r
-  {\r
-  }\r
 \r
-  protected void alignFrameMenuBar_ancestorAdded(AncestorEvent event)\r
-  {\r
-  }\r
 \r
   protected void saveAlignmentMenu_actionPerformed(ActionEvent e)\r
   {\r
@@ -1354,9 +1326,6 @@ public class GAlignFrame
   {\r
   }\r
 \r
-  protected void ClustalRealign_actionPerformed(ActionEvent e)\r
-  {\r
-  }\r
 \r
   public void vamsasStore_actionPerformed(ActionEvent e)\r
   {\r
@@ -1387,5 +1356,4 @@ public class GAlignFrame
   {\r
 \r
   }\r
-\r
 }\r
index 335fcb8..81a6fea 100755 (executable)
@@ -161,6 +161,7 @@ public class GDesktop extends JFrame
         jMenu1.setMnemonic('I');\r
         jMenu1.setText("Input Alignment");\r
     vamsasLoad.setText("Vamsas");\r
+    vamsasLoad.setVisible(false);\r
     vamsasLoad.addActionListener(new ActionListener()\r
     {\r
       public void actionPerformed(ActionEvent e)\r