X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FAlignmentI.java;h=7fe4627294d84d8674dadf08c25a4f4cb7b5bc86;hb=cb8ec179c020265666678572815ab056a024da22;hp=59610b36709eb25d433f06c268ee06ed257666f3;hpb=20403dbf83a2caa650a4ccd37f5a6dae7d0bd0f3;p=jalview.git diff --git a/src/jalview/datamodel/AlignmentI.java b/src/jalview/datamodel/AlignmentI.java index 59610b3..7fe4627 100755 --- a/src/jalview/datamodel/AlignmentI.java +++ b/src/jalview/datamodel/AlignmentI.java @@ -219,33 +219,19 @@ public interface AlignmentI */ public void deleteAllGroups(); - /** - * Adds a super group. A SuperGroup is a group of groups. - * - * @param sg Adds a new SuperGroup to alignment - */ - public void addSuperGroup(SuperGroup sg); /** - * Removes SuperGroup from alignment. - * - * @param sg This SuperGroup will be deleted from alignment. + * Adds a new AlignmentAnnotation to this alignment */ - public void removeSuperGroup(SuperGroup sg); + public void addAnnotation(AlignmentAnnotation aa); /** - * Finds any SuperGroup that a given SequenceGroup may be part of. - * - * @param sg SequenceGroup to search for. - * - * @return SuperGroup that contains the given SequenceGroup. + * Adds a new AlignmentAnnotation to this alignment, + * associated to Sequence starting at sequence index */ - public SuperGroup getSuperGroup(SequenceGroup sg); + public AlignmentAnnotation addAnnotation(AlignmentAnnotation aa, SequenceI seqRef); - /** - * Adds a new AlignmentAnnotation to this alignment - */ - public void addAnnotation(AlignmentAnnotation aa); + public void setAnnotationIndex(AlignmentAnnotation aa, int index); /** * Deletes a specific AlignmentAnnotation from the alignment. @@ -306,5 +292,8 @@ public interface AlignmentI */ public boolean padGaps(); + public void adjustSequenceAnnotations(); + + public HiddenSequences getHiddenSequences(); }