From: jprocter Date: Fri, 24 Jul 2009 15:09:08 +0000 (+0000) Subject: insert annotation at specific position X-Git-Tag: Release_2_5~233 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=35df94285f6d449af07ef2e5df60571dfe58a0d5;p=jalview.git insert annotation at specific position --- diff --git a/src/jalview/datamodel/AlignmentI.java b/src/jalview/datamodel/AlignmentI.java index f0a9ef4..186136f 100755 --- a/src/jalview/datamodel/AlignmentI.java +++ b/src/jalview/datamodel/AlignmentI.java @@ -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); }