JAL-1705 removed experimental 'highlight selection on structure'
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 24 Mar 2016 11:02:11 +0000 (11:02 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 24 Mar 2016 11:02:11 +0000 (11:02 +0000)
src/jalview/gui/ChimeraViewFrame.java
src/jalview/jbgui/GStructureViewer.java

index f1c5097..f2244d5 100644 (file)
@@ -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;
index 179607f..bd0f1de 100644 (file)
@@ -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"));