From 0b23947e2cdcd704d3f313b23ba271e43d097344 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 6 Nov 2006 13:59:56 +0000 Subject: [PATCH] accelerators, save menu item --- src/jalview/gui/AlignFrame.java | 33 +- src/jalview/jbgui/GAlignFrame.java | 47 ++- src/jalview/jbgui/GDesktop.java | 656 ++++++++++++++++++------------------ 3 files changed, 386 insertions(+), 350 deletions(-) diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index 189c5c0..f82efb5 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -60,6 +60,8 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener /** DOCUMENT ME!! */ public String currentFileFormat = null; + public String fileName = null; + private int treeCount = 0; /** @@ -571,12 +573,21 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener Desktop.instance.inputURLMenuItem_actionPerformed(viewport); } + + public void save_actionPerformed(ActionEvent e) + { + if(fileName==null || currentFileFormat==null) + saveAs_actionPerformed(null); + else + saveAlignment(fileName, currentFileFormat); + } + /** * DOCUMENT ME! * * @param e DOCUMENT ME! */ - public void saveAlignmentMenu_actionPerformed(ActionEvent e) + public void saveAs_actionPerformed(ActionEvent e) { JalviewFileChooser chooser = new JalviewFileChooser(jalview.bin.Cache. getProperty( "LAST_DIRECTORY"), @@ -597,7 +608,6 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener if (value == JalviewFileChooser.APPROVE_OPTION) { currentFileFormat = chooser.getSelectedFormat(); - if (currentFileFormat == null) { JOptionPane.showInternalMessageDialog(Desktop.desktop, @@ -608,13 +618,14 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener return; } + fileName = chooser.getSelectedFile().getPath(); + jalview.bin.Cache.setProperty("DEFAULT_FILE_FORMAT", currentFileFormat); - String choice = chooser.getSelectedFile().getPath(); - jalview.bin.Cache.setProperty("LAST_DIRECTORY", choice); + jalview.bin.Cache.setProperty("LAST_DIRECTORY", fileName); - saveAlignment(choice, currentFileFormat); + saveAlignment(fileName, currentFileFormat); } } @@ -632,6 +643,11 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener new Jalview2XML().SaveAlignment(this, file, shortName); + statusBar.setText("Successfully saved to file: " + +fileName+" in " + +format +" format."); + + // USE Jalview2XML to save this file return true; } @@ -670,6 +686,9 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener out.print(output); out.close(); this.setTitle(file); + statusBar.setText("Successfully saved to file: " + +fileName+" in " + +format +" format."); return true; } catch (Exception ex) @@ -821,8 +840,8 @@ public class AlignFrame extends GAlignFrame implements DropTargetListener } // alignPanels = null; } - else - System.out.println("null one here"); + // else + // System.out.println("null one here"); // alignPanel = null; // viewport = null; diff --git a/src/jalview/jbgui/GAlignFrame.java b/src/jalview/jbgui/GAlignFrame.java index cbe888a..304134c 100755 --- a/src/jalview/jbgui/GAlignFrame.java +++ b/src/jalview/jbgui/GAlignFrame.java @@ -61,7 +61,7 @@ public class GAlignFrame protected JMenuItem clustalAlignMenuItem = new JMenuItem(); BorderLayout borderLayout1 = new BorderLayout(); public JLabel statusBar = new JLabel(); - protected JMenuItem saveAlignmentMenu = new JMenuItem(); + protected JMenuItem saveAs = new JMenuItem(); protected JMenu outputTextboxMenu = new JMenu(); protected JRadioButtonMenuItem clustalColour = new JRadioButtonMenuItem(); protected JRadioButtonMenuItem zappoColour = new JRadioButtonMenuItem(); @@ -142,6 +142,7 @@ public class GAlignFrame protected JCheckBoxMenuItem hiddenMarkers = new JCheckBoxMenuItem(); JMenuItem invertColSel = new JMenuItem(); protected JTabbedPane tabbedPane = new JTabbedPane(); + JMenuItem save = new JMenuItem(); public GAlignFrame() { try @@ -316,21 +317,21 @@ public class GAlignFrame private void jbInit() throws Exception { - fileMenu.setMnemonic('F'); fileMenu.setText("File"); - saveAlignmentMenu.setMnemonic('L'); - saveAlignmentMenu.setText("Save As"); - saveAlignmentMenu.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java. - awt.event.KeyEvent.VK_S, java.awt.event.KeyEvent.CTRL_MASK, false)); - saveAlignmentMenu.addActionListener(new ActionListener() + saveAs.setText("Save As ..."); + saveAs.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event. + KeyEvent.VK_S, java.awt.event.KeyEvent.ALT_MASK, false)); + saveAs.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { - saveAlignmentMenu_actionPerformed(e); + saveAs_actionPerformed(e); } }); closeMenuItem.setMnemonic('C'); closeMenuItem.setText("Close"); + closeMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt. + event.KeyEvent.VK_W, java.awt.event.KeyEvent.CTRL_MASK, false)); closeMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) @@ -650,8 +651,6 @@ public class GAlignFrame } }); overviewMenuItem.setText("Overview Window"); - overviewMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt. - event.KeyEvent.VK_O, java.awt.event.KeyEvent.CTRL_MASK, false)); overviewMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) @@ -709,6 +708,8 @@ public class GAlignFrame } }); printMenuItem.setText("Print"); + printMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt. + event.KeyEvent.VK_P, java.awt.event.KeyEvent.CTRL_MASK, false)); printMenuItem.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) @@ -927,10 +928,8 @@ public class GAlignFrame sort.setText("Sort"); calculate.setText("Calculate Tree"); - jMenu2.setText("Export"); + jMenu2.setText("Export Image"); padGapsMenuitem.setText("Pad Gaps"); - padGapsMenuitem.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt. - event.KeyEvent.VK_P, java.awt.event.KeyEvent.CTRL_MASK, false)); padGapsMenuitem.setState( jalview.bin.Cache.getDefault("PAD_GAPS", false)); padGapsMenuitem.addActionListener(new ActionListener() { @@ -1125,6 +1124,16 @@ public class GAlignFrame tabbedPane_focusGained(e); } }); + save.setText("Save"); + save.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event. + KeyEvent.VK_S, java.awt.event.KeyEvent.CTRL_MASK, false)); + save.addActionListener(new ActionListener() + { + public void actionPerformed(ActionEvent e) + { + save_actionPerformed(e); + } + }); alignFrameMenuBar.add(fileMenu); alignFrameMenuBar.add(editMenu); @@ -1137,11 +1146,12 @@ public class GAlignFrame fileMenu.add(fetchSequence); fileMenu.addSeparator(); fileMenu.add(vamsasStore); - fileMenu.add(saveAlignmentMenu); - fileMenu.add(jMenu2); + fileMenu.add(save); + fileMenu.add(saveAs); fileMenu.add(outputTextboxMenu); fileMenu.add(printMenuItem); fileMenu.addSeparator(); + fileMenu.add(jMenu2); fileMenu.add(exportFeatures); fileMenu.add(exportAnnotations); fileMenu.add(LoadtreeMenuItem); @@ -1538,7 +1548,7 @@ public class GAlignFrame - protected void saveAlignmentMenu_actionPerformed(ActionEvent e) + protected void saveAs_actionPerformed(ActionEvent e) { } @@ -1652,4 +1662,9 @@ public class GAlignFrame { requestFocus(); } + + public void save_actionPerformed(ActionEvent e) + { + + } } diff --git a/src/jalview/jbgui/GDesktop.java b/src/jalview/jbgui/GDesktop.java index fea3c5c..16b4950 100755 --- a/src/jalview/jbgui/GDesktop.java +++ b/src/jalview/jbgui/GDesktop.java @@ -1,327 +1,329 @@ -/* -* Jalview - A Sequence Alignment Editor and Viewer -* Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* of the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA -*/ -package jalview.jbgui; - -import java.awt.*; -import java.awt.event.*; - -import javax.swing.*; - - -/** - * DOCUMENT ME! - * - * @author $author$ - * @version $Revision$ - */ -public class GDesktop extends JFrame -{ - protected static JMenu windowMenu = new JMenu(); - JMenuBar DesktopMenubar = new JMenuBar(); - JMenu FileMenu = new JMenu(); - JMenu HelpMenu = new JMenu(); - protected JMenu VamsasMenu = new JMenu(); - JMenuItem inputLocalFileMenuItem = new JMenuItem(); - JMenuItem inputURLMenuItem = new JMenuItem(); - JMenuItem inputTextboxMenuItem = new JMenuItem(); - JMenuItem quit = new JMenuItem(); - JMenuItem aboutMenuItem = new JMenuItem(); - JMenuItem documentationMenuItem = new JMenuItem(); - FlowLayout flowLayout1 = new FlowLayout(); - JMenu toolsMenu = new JMenu(); - JMenuItem preferences = new JMenuItem(); - JMenuItem saveState = new JMenuItem(); - JMenuItem loadState = new JMenuItem(); - JMenu jMenu1 = new JMenu(); - protected JMenuItem vamsasLoad = new JMenuItem(); - JMenuItem inputSequence = new JMenuItem(); - protected JMenuItem vamsasStop = new JMenuItem(); - - /** - * Creates a new GDesktop object. - */ - public GDesktop() - { - try - { - jbInit(); - this.setJMenuBar(DesktopMenubar); - } - catch (Exception e) - { - e.printStackTrace(); - } - } - - /** - * DOCUMENT ME! - * - * @throws Exception DOCUMENT ME! - */ - private void jbInit() throws Exception - { - FileMenu.setMnemonic('F'); - FileMenu.setText("File"); - HelpMenu.setText("Help"); - VamsasMenu.setText("Vamsas"); - VamsasMenu.setMnemonic('V'); - VamsasMenu.setToolTipText("Share data with other vamsas applications."); - inputLocalFileMenuItem.setMnemonic('L'); - inputLocalFileMenuItem.setText("from File"); - inputLocalFileMenuItem.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(ActionEvent e) - { - inputLocalFileMenuItem_actionPerformed(null); - } - }); - inputURLMenuItem.setMnemonic('U'); - inputURLMenuItem.setText("from URL"); - inputURLMenuItem.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(ActionEvent e) - { - inputURLMenuItem_actionPerformed(null); - } - }); - inputTextboxMenuItem.setMnemonic('C'); - inputTextboxMenuItem.setText("from Textbox"); - inputTextboxMenuItem.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(ActionEvent e) - { - inputTextboxMenuItem_actionPerformed(null); - } - }); - quit.setMnemonic('Q'); - quit.setText("Quit"); - quit.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(ActionEvent e) - { - quit(); - } - }); - aboutMenuItem.setText("About"); - aboutMenuItem.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(ActionEvent e) - { - aboutMenuItem_actionPerformed(e); - } - }); - documentationMenuItem.setText("Documentation"); - documentationMenuItem.addActionListener(new java.awt.event.ActionListener() - { - public void actionPerformed(ActionEvent e) - { - documentationMenuItem_actionPerformed(e); - } - }); - this.getContentPane().setLayout(flowLayout1); - windowMenu.setText("Window"); - preferences.setText("Preferences..."); - preferences.addActionListener(new ActionListener() - { - public void actionPerformed(ActionEvent e) - { - preferences_actionPerformed(e); - } - }); - toolsMenu.setText("Tools"); - saveState.setMnemonic('S'); - saveState.setText("Save Project"); - saveState.addActionListener(new ActionListener() - { - public void actionPerformed(ActionEvent e) - { - saveState_actionPerformed(e); - } - }); - loadState.setMnemonic('L'); - loadState.setText("Load Project"); - loadState.addActionListener(new ActionListener() - { - public void actionPerformed(ActionEvent e) - { - loadState_actionPerformed(e); - } - }); - jMenu1.setMnemonic('I'); - jMenu1.setText("Input Alignment"); - vamsasLoad.setText("Start Vamsas Session..."); - vamsasLoad.setVisible(false); - vamsasLoad.addActionListener(new ActionListener() - { - public void actionPerformed(ActionEvent e) - { - vamsasLoad_actionPerformed(e); - } - }); - inputSequence.setText("Fetch Sequence(s)..."); - inputSequence.addActionListener(new ActionListener() - { - public void actionPerformed(ActionEvent e) - { - inputSequence_actionPerformed(e); - } - }); - vamsasStop.setText("Stop Vamsas Session"); - vamsasStop.setVisible(false); - vamsasStop.addActionListener(new ActionListener() - { - public void actionPerformed(ActionEvent e) - { - vamsasStop_actionPerformed(e); - } - }); DesktopMenubar.add(FileMenu); - DesktopMenubar.add(toolsMenu); - VamsasMenu.setVisible(false); - DesktopMenubar.add(VamsasMenu); - DesktopMenubar.add(HelpMenu); - DesktopMenubar.add(windowMenu); - FileMenu.add(jMenu1); - FileMenu.add(inputSequence); - FileMenu.addSeparator(); - FileMenu.add(saveState); - FileMenu.add(loadState); - FileMenu.addSeparator(); - FileMenu.add(quit); - HelpMenu.add(aboutMenuItem); - HelpMenu.add(documentationMenuItem); - VamsasMenu.add(vamsasLoad); - VamsasMenu.add(vamsasStop); - toolsMenu.add(preferences); - jMenu1.add(inputLocalFileMenuItem); - jMenu1.add(inputURLMenuItem); - jMenu1.add(inputTextboxMenuItem); - // jMenu1.add(vamsasLoad); - } - - /** - * DOCUMENT ME! - * - * @param e DOCUMENT ME! - */ - protected void inputLocalFileMenuItem_actionPerformed(jalview.gui.AlignViewport av) - { - } - - /** - * DOCUMENT ME! - * - * @param e DOCUMENT ME! - */ - protected void inputURLMenuItem_actionPerformed(jalview.gui.AlignViewport av) - { - } - - /** - * DOCUMENT ME! - * - * @param e DOCUMENT ME! - */ - protected void inputTextboxMenuItem_actionPerformed(jalview.gui.AlignViewport av) - { - } - - /** - * DOCUMENT ME! - */ - protected void quit() - { - } - - /** - * DOCUMENT ME! - * - * @param e DOCUMENT ME! - */ - protected void aboutMenuItem_actionPerformed(ActionEvent e) - { - } - - /** - * DOCUMENT ME! - * - * @param e DOCUMENT ME! - */ - protected void documentationMenuItem_actionPerformed(ActionEvent e) - { - } - - /** - * DOCUMENT ME! - * - * @param e DOCUMENT ME! - */ - public void SaveState_actionPerformed(ActionEvent e) - { - } - - /** - * DOCUMENT ME! - * - * @param e DOCUMENT ME! - */ - protected void preferences_actionPerformed(ActionEvent e) - { - } - - /** - * DOCUMENT ME! - * - * @param e DOCUMENT ME! - */ - public void saveState_actionPerformed(ActionEvent e) - { - } - - /** - * DOCUMENT ME! - * - * @param e DOCUMENT ME! - */ - public void loadState_actionPerformed(ActionEvent e) - { - } - - /** - * DOCUMENT ME! - * - * @param e DOCUMENT ME! - */ - public void loadJalviewAlign_actionPerformed(ActionEvent e) - { - } - - public void vamsasLoad_actionPerformed(ActionEvent e) - { - - } - - public void inputSequence_actionPerformed(ActionEvent e) - { - - } - public void vamsasStop_actionPerformed(ActionEvent e) - { - - } -} +/* +* Jalview - A Sequence Alignment Editor and Viewer +* Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License +* as published by the Free Software Foundation; either version 2 +* of the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA +*/ +package jalview.jbgui; + +import java.awt.*; +import java.awt.event.*; + +import javax.swing.*; + + +/** + * DOCUMENT ME! + * + * @author $author$ + * @version $Revision$ + */ +public class GDesktop extends JFrame +{ + protected static JMenu windowMenu = new JMenu(); + JMenuBar DesktopMenubar = new JMenuBar(); + JMenu FileMenu = new JMenu(); + JMenu HelpMenu = new JMenu(); + protected JMenu VamsasMenu = new JMenu(); + JMenuItem inputLocalFileMenuItem = new JMenuItem(); + JMenuItem inputURLMenuItem = new JMenuItem(); + JMenuItem inputTextboxMenuItem = new JMenuItem(); + JMenuItem quit = new JMenuItem(); + JMenuItem aboutMenuItem = new JMenuItem(); + JMenuItem documentationMenuItem = new JMenuItem(); + FlowLayout flowLayout1 = new FlowLayout(); + JMenu toolsMenu = new JMenu(); + JMenuItem preferences = new JMenuItem(); + JMenuItem saveState = new JMenuItem(); + JMenuItem loadState = new JMenuItem(); + JMenu jMenu1 = new JMenu(); + protected JMenuItem vamsasLoad = new JMenuItem(); + JMenuItem inputSequence = new JMenuItem(); + protected JMenuItem vamsasStop = new JMenuItem(); + + /** + * Creates a new GDesktop object. + */ + public GDesktop() + { + try + { + jbInit(); + this.setJMenuBar(DesktopMenubar); + } + catch (Exception e) + { + e.printStackTrace(); + } + } + + /** + * DOCUMENT ME! + * + * @throws Exception DOCUMENT ME! + */ + private void jbInit() throws Exception + { + FileMenu.setMnemonic('F'); + FileMenu.setText("File"); + HelpMenu.setText("Help"); + VamsasMenu.setText("Vamsas"); + VamsasMenu.setMnemonic('V'); + VamsasMenu.setToolTipText("Share data with other vamsas applications."); + inputLocalFileMenuItem.setMnemonic('L'); + inputLocalFileMenuItem.setText("from File"); + inputLocalFileMenuItem.setAccelerator(javax.swing.KeyStroke.getKeyStroke( + java.awt.event.KeyEvent.VK_O, java.awt.event.KeyEvent.CTRL_MASK, false)); + inputLocalFileMenuItem.addActionListener(new java.awt.event.ActionListener() + { + public void actionPerformed(ActionEvent e) + { + inputLocalFileMenuItem_actionPerformed(null); + } + }); + inputURLMenuItem.setMnemonic('U'); + inputURLMenuItem.setText("from URL"); + inputURLMenuItem.addActionListener(new java.awt.event.ActionListener() + { + public void actionPerformed(ActionEvent e) + { + inputURLMenuItem_actionPerformed(null); + } + }); + inputTextboxMenuItem.setMnemonic('C'); + inputTextboxMenuItem.setText("from Textbox"); + inputTextboxMenuItem.addActionListener(new java.awt.event.ActionListener() + { + public void actionPerformed(ActionEvent e) + { + inputTextboxMenuItem_actionPerformed(null); + } + }); + quit.setMnemonic('Q'); + quit.setText("Quit"); + quit.addActionListener(new java.awt.event.ActionListener() + { + public void actionPerformed(ActionEvent e) + { + quit(); + } + }); + aboutMenuItem.setText("About"); + aboutMenuItem.addActionListener(new java.awt.event.ActionListener() + { + public void actionPerformed(ActionEvent e) + { + aboutMenuItem_actionPerformed(e); + } + }); + documentationMenuItem.setText("Documentation"); + documentationMenuItem.addActionListener(new java.awt.event.ActionListener() + { + public void actionPerformed(ActionEvent e) + { + documentationMenuItem_actionPerformed(e); + } + }); + this.getContentPane().setLayout(flowLayout1); + windowMenu.setText("Window"); + preferences.setText("Preferences..."); + preferences.addActionListener(new ActionListener() + { + public void actionPerformed(ActionEvent e) + { + preferences_actionPerformed(e); + } + }); + toolsMenu.setText("Tools"); + saveState.setMnemonic('S'); + saveState.setText("Save Project"); + saveState.addActionListener(new ActionListener() + { + public void actionPerformed(ActionEvent e) + { + saveState_actionPerformed(e); + } + }); + loadState.setMnemonic('L'); + loadState.setText("Load Project"); + loadState.addActionListener(new ActionListener() + { + public void actionPerformed(ActionEvent e) + { + loadState_actionPerformed(e); + } + }); + jMenu1.setMnemonic('I'); + jMenu1.setText("Input Alignment"); + vamsasLoad.setText("Start Vamsas Session..."); + vamsasLoad.setVisible(false); + vamsasLoad.addActionListener(new ActionListener() + { + public void actionPerformed(ActionEvent e) + { + vamsasLoad_actionPerformed(e); + } + }); + inputSequence.setText("Fetch Sequence(s)..."); + inputSequence.addActionListener(new ActionListener() + { + public void actionPerformed(ActionEvent e) + { + inputSequence_actionPerformed(e); + } + }); + vamsasStop.setText("Stop Vamsas Session"); + vamsasStop.setVisible(false); + vamsasStop.addActionListener(new ActionListener() + { + public void actionPerformed(ActionEvent e) + { + vamsasStop_actionPerformed(e); + } + }); DesktopMenubar.add(FileMenu); + DesktopMenubar.add(toolsMenu); + VamsasMenu.setVisible(false); + DesktopMenubar.add(VamsasMenu); + DesktopMenubar.add(HelpMenu); + DesktopMenubar.add(windowMenu); + FileMenu.add(jMenu1); + FileMenu.add(inputSequence); + FileMenu.addSeparator(); + FileMenu.add(saveState); + FileMenu.add(loadState); + FileMenu.addSeparator(); + FileMenu.add(quit); + HelpMenu.add(aboutMenuItem); + HelpMenu.add(documentationMenuItem); + VamsasMenu.add(vamsasLoad); + VamsasMenu.add(vamsasStop); + toolsMenu.add(preferences); + jMenu1.add(inputLocalFileMenuItem); + jMenu1.add(inputURLMenuItem); + jMenu1.add(inputTextboxMenuItem); + // jMenu1.add(vamsasLoad); + } + + /** + * DOCUMENT ME! + * + * @param e DOCUMENT ME! + */ + protected void inputLocalFileMenuItem_actionPerformed(jalview.gui.AlignViewport av) + { + } + + /** + * DOCUMENT ME! + * + * @param e DOCUMENT ME! + */ + protected void inputURLMenuItem_actionPerformed(jalview.gui.AlignViewport av) + { + } + + /** + * DOCUMENT ME! + * + * @param e DOCUMENT ME! + */ + protected void inputTextboxMenuItem_actionPerformed(jalview.gui.AlignViewport av) + { + } + + /** + * DOCUMENT ME! + */ + protected void quit() + { + } + + /** + * DOCUMENT ME! + * + * @param e DOCUMENT ME! + */ + protected void aboutMenuItem_actionPerformed(ActionEvent e) + { + } + + /** + * DOCUMENT ME! + * + * @param e DOCUMENT ME! + */ + protected void documentationMenuItem_actionPerformed(ActionEvent e) + { + } + + /** + * DOCUMENT ME! + * + * @param e DOCUMENT ME! + */ + public void SaveState_actionPerformed(ActionEvent e) + { + } + + /** + * DOCUMENT ME! + * + * @param e DOCUMENT ME! + */ + protected void preferences_actionPerformed(ActionEvent e) + { + } + + /** + * DOCUMENT ME! + * + * @param e DOCUMENT ME! + */ + public void saveState_actionPerformed(ActionEvent e) + { + } + + /** + * DOCUMENT ME! + * + * @param e DOCUMENT ME! + */ + public void loadState_actionPerformed(ActionEvent e) + { + } + + /** + * DOCUMENT ME! + * + * @param e DOCUMENT ME! + */ + public void loadJalviewAlign_actionPerformed(ActionEvent e) + { + } + + public void vamsasLoad_actionPerformed(ActionEvent e) + { + + } + + public void inputSequence_actionPerformed(ActionEvent e) + { + + } + public void vamsasStop_actionPerformed(ActionEvent e) + { + + } +} -- 1.7.10.2