From 14ec98716bf86e13337e30eeaa8355b2284a6e4c Mon Sep 17 00:00:00 2001 From: hansonr Date: Sun, 31 Mar 2019 12:19:07 -0500 Subject: [PATCH] adds AlignFrame name jalview-alignment; --- src/jalview/jbgui/GAlignFrame.java | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/src/jalview/jbgui/GAlignFrame.java b/src/jalview/jbgui/GAlignFrame.java index 55b4f28..65c6a5b 100755 --- a/src/jalview/jbgui/GAlignFrame.java +++ b/src/jalview/jbgui/GAlignFrame.java @@ -62,15 +62,18 @@ import javax.swing.event.ChangeEvent; import javax.swing.event.MenuEvent; import javax.swing.event.MenuListener; +@SuppressWarnings("serial") public class GAlignFrame extends JInternalFrame { protected JMenuBar alignFrameMenuBar = new JMenuBar(); protected JMenuItem closeMenuItem = new JMenuItem(); - protected JMenu webService = new JMenu(); + public JMenu webService = new JMenu();// BH 2019 was protected, but not + // sufficient for AlignFrame thread run - protected JMenuItem webServiceNoServices; + public JMenuItem webServiceNoServices;// BH 2019 was protected, but not + // sufficient for AlignFrame thread run protected JCheckBoxMenuItem viewBoxesMenuItem = new JCheckBoxMenuItem(); @@ -78,7 +81,9 @@ public class GAlignFrame extends JInternalFrame protected JMenu sortByAnnotScore = new JMenu(); - protected JLabel statusBar = new JLabel(); + public JLabel statusBar = new JLabel(); // BH 2019 was protected, but not + // sufficient for + // AlignFrame.printWriter protected JMenu outputTextboxMenu = new JMenu(); @@ -172,7 +177,8 @@ public class GAlignFrame extends JInternalFrame protected JCheckBoxMenuItem hiddenMarkers = new JCheckBoxMenuItem(); - protected JTabbedPane tabbedPane = jalview.jbgui.GDesktop.createTabbedPane(); + protected JTabbedPane tabbedPane = jalview.jbgui.GDesktop + .createTabbedPane(); protected JMenuItem reload = new JMenuItem(); @@ -199,7 +205,7 @@ public class GAlignFrame extends JInternalFrame protected JCheckBoxMenuItem normaliseSequenceLogo = new JCheckBoxMenuItem(); protected JCheckBoxMenuItem applyAutoAnnotationSettings = new JCheckBoxMenuItem(); - + protected JMenuItem openFeatureSettings; private SequenceAnnotationOrder annotationSortOrder; @@ -216,7 +222,7 @@ public class GAlignFrame extends JInternalFrame { // for Web-page embedding using id=align-frame-div - setName("align-frame"); + setName("jalview-alignment"); jbInit(); setJMenuBar(alignFrameMenuBar); @@ -1234,8 +1240,8 @@ public class GAlignFrame extends JInternalFrame /* * Translate as cDNA with sub-menu of translation tables */ - showTranslation.setText(MessageManager - .getString("label.translate_cDNA")); + showTranslation + .setText(MessageManager.getString("label.translate_cDNA")); boolean first = true; for (final GeneticCodeI table : GeneticCodes.getInstance() .getCodeTables()) @@ -1340,7 +1346,8 @@ public class GAlignFrame extends JInternalFrame associatedData_actionPerformed(e); } }); - loadVcf = new JMenuItem(MessageManager.getString("label.load_vcf_file")); + loadVcf = new JMenuItem( + MessageManager.getString("label.load_vcf_file")); loadVcf.setToolTipText(MessageManager.getString("label.load_vcf")); loadVcf.addActionListener(new ActionListener() { -- 1.7.10.2