From cf746641bf5f17b1eabf6a8c16b9bb03aee6eccb Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 24 Mar 2016 11:02:11 +0000 Subject: [PATCH] JAL-1705 removed experimental 'highlight selection on structure' --- src/jalview/gui/ChimeraViewFrame.java | 7 ------- src/jalview/jbgui/GStructureViewer.java | 13 ------------- 2 files changed, 20 deletions(-) diff --git a/src/jalview/gui/ChimeraViewFrame.java b/src/jalview/gui/ChimeraViewFrame.java index f1c5097..f2244d5 100644 --- a/src/jalview/gui/ChimeraViewFrame.java +++ b/src/jalview/gui/ChimeraViewFrame.java @@ -143,7 +143,6 @@ public class ChimeraViewFrame extends StructureViewerBase }); viewMenu.add(seqColourBy); viewMenu.add(fitToWindow); - viewMenu.add(highlightSelection); final ItemListener handler; JMenu alpanels = new ViewSelectionMenu( @@ -1206,12 +1205,6 @@ public class ChimeraViewFrame extends StructureViewerBase } @Override - protected void highlightSelection_actionPerformed() - { - jmb.highlightSelection(getAlignmentPanel()); - } - - @Override public ViewerType getViewerType() { return ViewerType.CHIMERA; diff --git a/src/jalview/jbgui/GStructureViewer.java b/src/jalview/jbgui/GStructureViewer.java index 179607f..bd0f1de 100644 --- a/src/jalview/jbgui/GStructureViewer.java +++ b/src/jalview/jbgui/GStructureViewer.java @@ -53,8 +53,6 @@ public abstract class GStructureViewer extends JInternalFrame implements protected JMenuItem fitToWindow = new JMenuItem(); - protected JMenuItem highlightSelection = new JMenuItem(); - protected JRadioButtonMenuItem seqColour = new JRadioButtonMenuItem(); protected JRadioButtonMenuItem chainColour = new JRadioButtonMenuItem(); @@ -169,17 +167,6 @@ public abstract class GStructureViewer extends JInternalFrame implements } }); - highlightSelection.setText(MessageManager - .getString("label.highlight_selection")); - highlightSelection.addActionListener(new ActionListener() - { - @Override - public void actionPerformed(ActionEvent actionEvent) - { - highlightSelection_actionPerformed(); - } - }); - JMenu colourMenu = new JMenu(); colourMenu.setText(MessageManager.getString("label.colours")); -- 1.7.10.2