JAL-1115 refactor reordering code operating directly on Sequence collection as Alignm...
[jalview.git] / src / jalview / datamodel / AlignmentI.java
index 1f6390e..3d61037 100755 (executable)
@@ -444,4 +444,15 @@ public interface AlignmentI extends AnnotatedCollectionI
    */
   public AlignmentAnnotation findOrCreateAnnotation(String name, boolean autoCalc,
           SequenceI seqRef, SequenceGroup groupRef);
+
+  /**
+   * move the given group up or down in the alignment by the given number of rows.
+   * Implementor assumes given group is already present on alignment - no recalculations are triggered.
+   * @param sg
+   * @param map
+   * @param up
+   * @param i
+   */
+  public void moveSelectedSequencesByOne(SequenceGroup sg,
+          Map<SequenceI, SequenceCollectionI> map, boolean up);
 }