});
viewMenu.add(seqColourBy);
viewMenu.add(fitToWindow);
- viewMenu.add(highlightSelection);
final ItemListener handler;
JMenu alpanels = new ViewSelectionMenu(
}
@Override
- protected void highlightSelection_actionPerformed()
- {
- jmb.highlightSelection(getAlignmentPanel());
- }
-
- @Override
public ViewerType getViewerType()
{
return ViewerType.CHIMERA;
protected JMenuItem fitToWindow = new JMenuItem();
- protected JMenuItem highlightSelection = new JMenuItem();
-
protected JRadioButtonMenuItem seqColour = new JRadioButtonMenuItem();
protected JRadioButtonMenuItem chainColour = new JRadioButtonMenuItem();
}
});
- 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"));