X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FContactMapHolderI.java;h=342abf835fb4f9294a9778419c54cc63ab038fa8;hb=e5b3e83f7ee6bc1d0a5867d9fd68a6c0098d51f0;hp=624a03ee0af6dc6917399d200bef65b2d462ec74;hpb=0eda79421bb03c19e3b74c4b83b1644ca12ea66c;p=jalview.git diff --git a/src/jalview/datamodel/ContactMapHolderI.java b/src/jalview/datamodel/ContactMapHolderI.java index 624a03e..342abf8 100644 --- a/src/jalview/datamodel/ContactMapHolderI.java +++ b/src/jalview/datamodel/ContactMapHolderI.java @@ -6,10 +6,13 @@ public interface ContactMapHolderI { /** * resolve a contact list instance (if any) associated with the annotation row - * and column position + * and column position Columns of ContactMap are indexed relative to context + * object (columns of alignment, positions on sequence relative to + * sequence.getStart()) * * @param _aa * @param column + * - base 0 column index * @return */ ContactListI getContactListFor(AlignmentAnnotation _aa, int column); @@ -18,4 +21,8 @@ public interface ContactMapHolderI Collection getContactMaps(); + public ContactMatrixI getContactMatrixFor(AlignmentAnnotation ann); + + void addContactListFor(AlignmentAnnotation annotation, ContactMatrixI cm); + }