insert annotation at specific position
authorjprocter <Jim Procter>
Fri, 24 Jul 2009 15:09:08 +0000 (15:09 +0000)
committerjprocter <Jim Procter>
Fri, 24 Jul 2009 15:09:08 +0000 (15:09 +0000)
src/jalview/datamodel/AlignmentI.java

index f0a9ef4..186136f 100755 (executable)
@@ -379,6 +379,14 @@ public interface AlignmentI
    * Justify the sequences to the left or right by deleting and inserting gaps before the initial residue or after the terminal residue
    * @param right true if alignment padded to right, false to justify to left
    * @return true if alignment was changed
+   * TODO: return undo object
    */
   public boolean justify(boolean right);
+
+  /**
+   * add given annotation row at given position (0 is start, -1 is end)
+   * @param consensus
+   * @param i
+   */
+  public void addAnnotation(AlignmentAnnotation consensus, int i);
 }