JAL-2505 JAL-2542 SequenceFeatures.shift() to shift all positional
[jalview.git] / src / jalview / datamodel / features / SequenceFeaturesI.java
index c423391..58beca2 100644 (file)
@@ -193,4 +193,12 @@ public interface SequenceFeaturesI
    * @return
    */
   float getMaximumScore(String type, boolean positional);
+
+  /**
+   * Adds the shift amount to the start and end of all positional features,
+   * returning true if at least one feature was shifted, else false
+   * 
+   * @param shift
+   */
+  abstract boolean shiftFeatures(int shift);
 }
\ No newline at end of file