private SplitContainerI splitFrame;
+ protected JMenu autoAnnMenu;
+
+ protected JRadioButtonMenuItem showAutoFirst;
+
+ protected JRadioButtonMenuItem showAutoLast;
+
public GAlignFrame()
{
try
});
ButtonGroup buttonGroup = new ButtonGroup();
- final JRadioButtonMenuItem showAutoFirst = new JRadioButtonMenuItem(
+ showAutoFirst = new JRadioButtonMenuItem(
MessageManager.getString("label.show_first"));
- final JRadioButtonMenuItem showAutoLast = new JRadioButtonMenuItem(
+ showAutoLast = new JRadioButtonMenuItem(
MessageManager.getString("label.show_last"));
buttonGroup.add(showAutoFirst);
buttonGroup.add(showAutoLast);
selectHighlighted.addActionListener(al);
JMenu tooltipSettingsMenu = new JMenu(
MessageManager.getString("label.sequence_id_tooltip"));
- JMenu autoAnnMenu = new JMenu(
+ autoAnnMenu = new JMenu(
MessageManager.getString("label.autocalculated_annotation"));
JMenu exportImageMenu = new JMenu(
annotationsMenu.add(sortAnnBySequence);
annotationsMenu.add(sortAnnByLabel);
annotationsMenu.addSeparator();
- autoAnnMenu.add(showAutoFirst);
- autoAnnMenu.add(showAutoLast);
- autoAnnMenu.addSeparator();
- autoAnnMenu.add(applyAutoAnnotationSettings);
- autoAnnMenu.add(showConsensusHistogram);
- autoAnnMenu.add(showSequenceLogo);
- autoAnnMenu.add(normaliseSequenceLogo);
- autoAnnMenu.addSeparator();
- autoAnnMenu.add(showGroupConservation);
- autoAnnMenu.add(showGroupConsensus);
- annotationsMenu.add(autoAnnMenu);
+ annotationsMenu.add(autoAnnMenu); // autoAnnMenu is populated later
sort.add(sortIDMenuItem);
sort.add(sortLengthMenuItem);