From 7b5010ef9c87b8af5e4e51aba5fba47c5aa43c9a Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 17 Nov 2005 15:17:40 +0000 Subject: [PATCH] Hide vamsas settings for build --- src/jalview/jbgui/GAlignFrame.java | 42 +++++------------------------------- src/jalview/jbgui/GDesktop.java | 1 + 2 files changed, 6 insertions(+), 37 deletions(-) diff --git a/src/jalview/jbgui/GAlignFrame.java b/src/jalview/jbgui/GAlignFrame.java index 2909727..f7b1342 100755 --- a/src/jalview/jbgui/GAlignFrame.java +++ b/src/jalview/jbgui/GAlignFrame.java @@ -115,7 +115,7 @@ public class GAlignFrame protected ButtonGroup colours = new ButtonGroup(); JMenuItem vamsasStore = new JMenuItem(); protected JCheckBoxMenuItem showTranslation = new JCheckBoxMenuItem(); - protected JTabbedPane tabbedPane = new JTabbedPane(); + //protected JTabbedPane tabbedPane = new JTabbedPane(); public JMenuItem featureSettings = new JMenuItem(); public JCheckBoxMenuItem seqDBRef = new JCheckBoxMenuItem(); JMenuItem fetchSequence = new JMenuItem(); @@ -477,21 +477,6 @@ public class GAlignFrame }); this.getContentPane().setLayout(borderLayout1); alignFrameMenuBar.setFont(new java.awt.Font("Verdana", 0, 11)); - alignFrameMenuBar.addAncestorListener(new AncestorListener() - { - public void ancestorAdded(AncestorEvent event) - { - alignFrameMenuBar_ancestorAdded(event); - } - - public void ancestorRemoved(AncestorEvent event) - { - } - - public void ancestorMoved(AncestorEvent event) - { - } - }); statusBar.setBackground(Color.white); statusBar.setFont(new java.awt.Font("Verdana", 0, 11)); statusBar.setBorder(BorderFactory.createLineBorder(Color.black)); @@ -913,6 +898,7 @@ public class GAlignFrame padGapsMenuitem_actionPerformed(e); } }); + vamsasStore.setVisible(false); vamsasStore.setText("VAMSAS store"); vamsasStore.addActionListener(new ActionListener() { @@ -930,14 +916,14 @@ public class GAlignFrame } }); - tabbedPane.addChangeListener(new ChangeListener() + /* tabbedPane.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent ece) { tabSelected(); } - }); + });*/ featureSettings.setEnabled(false); featureSettings.setText("Feature Settings..."); featureSettings.addActionListener(new ActionListener() @@ -1049,7 +1035,7 @@ public class GAlignFrame webServiceNoServices=new JMenuItem(""); webService.add(webServiceNoServices); this.getContentPane().add(statusBar, BorderLayout.SOUTH); - this.getContentPane().add(tabbedPane, java.awt.BorderLayout.CENTER); + // this.getContentPane().add(tabbedPane, java.awt.BorderLayout.CENTER); jMenu1.add(pasteNew); jMenu1.add(pasteThis); sort.add(sortIDMenuItem); @@ -1176,10 +1162,6 @@ public class GAlignFrame { } - protected void clustalAlignMenuItem_actionPerformed(ActionEvent e) - { - } - protected void clustalColour_actionPerformed(ActionEvent e) { } @@ -1334,17 +1316,7 @@ public class GAlignFrame { } - protected void preferences_actionPerformed(ActionEvent e) - { - } - - protected void msaAlignMenuItem_actionPerformed(ActionEvent e) - { - } - protected void alignFrameMenuBar_ancestorAdded(AncestorEvent event) - { - } protected void saveAlignmentMenu_actionPerformed(ActionEvent e) { @@ -1354,9 +1326,6 @@ public class GAlignFrame { } - protected void ClustalRealign_actionPerformed(ActionEvent e) - { - } public void vamsasStore_actionPerformed(ActionEvent e) { @@ -1387,5 +1356,4 @@ public class GAlignFrame { } - } diff --git a/src/jalview/jbgui/GDesktop.java b/src/jalview/jbgui/GDesktop.java index 335fcb8..81a6fea 100755 --- a/src/jalview/jbgui/GDesktop.java +++ b/src/jalview/jbgui/GDesktop.java @@ -161,6 +161,7 @@ public class GDesktop extends JFrame jMenu1.setMnemonic('I'); jMenu1.setText("Input Alignment"); vamsasLoad.setText("Vamsas"); + vamsasLoad.setVisible(false); vamsasLoad.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) -- 1.7.10.2