JAL-3081 is/setShowAutocalculatedAbove pulled up to interface
[jalview.git] / src / jalview / gui / AlignmentPanel.java
index c606b9f..b27d66d 100644 (file)
@@ -825,13 +825,14 @@ public class AlignmentPanel extends GAlignmentPanel implements
    * Sorts annotations according to currently selected preferences. Does nothing
    * if currently set to 'Custom' (manual) ordering.
    */
-  void sortAnnotations()
+  @Override
+  public void sortAnnotations(boolean autoCalcOnly)
   {
     SequenceAnnotationOrder sortBy = av.getSortAnnotationsBy();
     if (sortBy != SequenceAnnotationOrder.CUSTOM)
     {
       final AnnotationSorter sorter = new AnnotationSorter(getAlignment(),
-              av.isShowAutocalculatedAbove());
+              av.isShowAutocalculatedAbove(), autoCalcOnly);
       sorter.sort(getAlignment().getAlignmentAnnotation(), sortBy);
     }
   }