JAL-2381 copy and paste sequence also copies contact matrix annotation
[jalview.git] / src / jalview / datamodel / SequenceI.java
index 34dbab7..2e1daa3 100755 (executable)
@@ -415,7 +415,7 @@ public interface SequenceI extends ASequenceI, ContactMapHolderI
   /**
    * Derive a sequence (using this one's dataset or as the dataset)
    * 
-   * @return duplicate sequence with valid dataset sequence
+   * @return duplicate sequence and any annotation present with valid dataset sequence
    */
   public SequenceI deriveSequence();
 
@@ -596,4 +596,7 @@ public interface SequenceI extends ASequenceI, ContactMapHolderI
    */
   public int firstResidueOutsideIterator(Iterator<int[]> it);
 
+  public void addContactListFor(AlignmentAnnotation annotation,
+          ContactMatrixI cm);
+
 }