JAL-3199 promote sortAnnotations to AlignmentViewPanel
[jalview.git] / src / jalview / api / AlignmentViewPanel.java
index 0b1ca21..8918944 100644 (file)
@@ -63,4 +63,11 @@ public interface AlignmentViewPanel extends OOMHandlerI
    * @return displayed name for the view
    */
   String getViewName();
+
+  /**
+   * Sorts annotations according to currently selected preferences. Does nothing
+   * if currently set to 'Custom' (manual) ordering, so as not to trash user
+   * customised annotation ordering.
+   */
+  void sortAnnotations();
 }