X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FAlignmentI.java;h=186136f990e7536cb5ee923c3f2919c2d07761c3;hb=1dabf099b7c77fb0a80039f72cef34669df9b2e1;hp=d9791f114eafb0fd8b97fefc865a757ca96595a5;hpb=482e093c4670a813c9eec254990178b209e32dbc;p=jalview.git diff --git a/src/jalview/datamodel/AlignmentI.java b/src/jalview/datamodel/AlignmentI.java index d9791f1..186136f 100755 --- a/src/jalview/datamodel/AlignmentI.java +++ b/src/jalview/datamodel/AlignmentI.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4) - * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1) + * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -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); }