X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FAlignViewportI.java;h=a35c2a4996e865119171eb77eae765952677f36a;hb=87b304d55f0dd005dd1d04cf162103bff4435a83;hp=4b6dc4e4c3beedaf19b8eef0fb47e0f71ae11d1e;hpb=c4160cf5c69643d0af950db63214b2067a04b061;p=jalview.git diff --git a/src/jalview/api/AlignViewportI.java b/src/jalview/api/AlignViewportI.java index 4b6dc4e..a35c2a4 100644 --- a/src/jalview/api/AlignViewportI.java +++ b/src/jalview/api/AlignViewportI.java @@ -108,8 +108,6 @@ public interface AlignViewportI extends ViewStyleI ProfilesI getSequenceConsensusHash(); - ProfilesI getSequenceInformationHash(); - /** * Get consensus data table for the cDNA complement of this alignment (if any) * @@ -137,13 +135,6 @@ public interface AlignViewportI extends ViewStyleI AlignmentAnnotation getAlignmentConsensusAnnotation(); /** - * get the container for alignment information content annotation - * - * @return - */ - AlignmentAnnotation getAlignmentInformationAnnotation(); - - /** * get the container for alignment gap annotation * * @return @@ -190,13 +181,6 @@ public interface AlignViewportI extends ViewStyleI void setSequenceConsensusHash(ProfilesI hconsensus); /** - * set the information result object for the viewport - * - * @param hconsensus - */ - void setSequenceInformationHash(ProfilesI hinformation); - - /** * Set the cDNA complement consensus for the viewport * * @param hconsensus @@ -521,5 +505,28 @@ public interface AlignViewportI extends ViewStyleI @Override void setProteinFontAsCdna(boolean b); - ProfilesI setSequenceInformationHash(); + void setSequenceInformationHashes(List info); + + List getSequenceInformationHashes(); + + ProfilesI getSequenceInformationHash(int index); + + List getInformationAnnotations(); + + AlignmentAnnotation getInformationAnnotation(int index); + + void setSequenceInformationHash(ProfilesI info, int index); + + /** + * Initiates the information annotation for all uninitiated sequences. + */ + void initInformation(); + + /** + * Updates all information annotations. + * + * @param ap + */ + void updateInformation(AlignmentViewPanel ap); + }