From: gmungoc Date: Thu, 24 Mar 2016 11:02:11 +0000 (+0000) Subject: JAL-1705 removed experimental 'highlight selection on structure' X-Git-Tag: Release_2_10_0~285^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cf746641bf5f17b1eabf6a8c16b9bb03aee6eccb;p=jalview.git JAL-1705 removed experimental 'highlight selection on structure' --- 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"));