SequenceGroup sg = ap.av.getSelectionGroup();
if (sg != null && sg.getSize() > 0)
{
+ conservationColour.setEnabled(!sg.isNucleotide());
editGroupName.setLabel(MessageManager.formatMessage(
"label.name_param", new Object[] { sg.getName() }));
showText.setState(sg.getDisplayText());
add(menuItem);
}
-
}
SequenceGroup sg = ap.av.getSelectionGroup();
ColourMenuHelper.setColourSelected(colourMenu, sg.getColourScheme());
+ conservationMenuItem.setEnabled(!sg.isNucleotide());
+
if (sg.cs != null)
{
if (sg.cs.conservationApplied())
public void setSelectionGroup(SequenceGroup sg)
{
selectionGroup = sg;
+ if (sg != null)
+ {
+ sg.setContext(alignment);
+ }
}
public void setHiddenColumns(ColumnSelection colsel)