JAL-2541 save/Undo only 'diffs' for features with Cut command
[jalview.git] / src / jalview / datamodel / features / SequenceFeaturesI.java
index 40beae3..f3d8a16 100644 (file)
@@ -22,7 +22,9 @@ public interface SequenceFeaturesI
   /**
    * Returns a (possibly empty) list of features, optionally restricted to
    * specified types, which overlap the given (inclusive) sequence position
-   * range
+   * range. Contact features are included if either start or end (or both) lie
+   * within the range. Non-contact features which span the range are also
+   * included.
    * 
    * @param from
    * @param to
@@ -203,4 +205,9 @@ public interface SequenceFeaturesI
    * @param shiftBy
    */
   boolean shiftFeatures(int fromPosition, int shiftBy);
+
+  /**
+   * Deletes all positional and non-positional features
+   */
+  void deleteAll();
 }
\ No newline at end of file