{
new AnnotationColourChooser(viewport, alignPanel);
}
+ else if (source == annotationColumnSelection)
+ {
+ new AnnotationColumnChooser(viewport, alignPanel);
+ }
else if (source == sortPairwiseMenuItem)
{
sortPairwiseMenuItem_actionPerformed();
annotationColour.setLabel(MessageManager
.getString("action.by_annotation"));
annotationColour.addActionListener(this);
+
+ annotationColumnSelection.setLabel("Select by Annotation");
+ annotationColumnSelection.addActionListener(this);
+
invertSequenceMenuItem.setLabel(MessageManager
.getString("action.invert_sequence_selection"));
invertColSel.setLabel(MessageManager
selectMenu.add(unGroup);
selectMenu.add(grpsFromSelection);
selectMenu.add(deleteGroups);
+ selectMenu.add(annotationColumnSelection);
}
MenuItem annotationColour = new MenuItem();
+ MenuItem annotationColumnSelection = new MenuItem();
+
MenuItem invertColSel = new MenuItem();
Menu menu1 = new Menu();