-
- if (currentColours.isSelected())
- {
- sg.setColourScheme(new AnnotationColourGradient(currentAnn, sg
- .getColourScheme(), selectedThresholdOption));
- ((AnnotationColourGradient) sg.cs).setSeqAssociated(seqAssociated
- .isSelected());
- }
- else
- {
- sg.setColourScheme(new AnnotationColourGradient(currentAnn,
- minColour.getBackground(), maxColour.getBackground(),
- selectedThresholdOption));
- ((AnnotationColourGradient) sg.cs).setSeqAssociated(seqAssociated
- .isSelected());
- }