git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3253-applet JAL-3383 Overview speed up -- see Issue comments.
[jalview.git]
/
src
/
jalview
/
datamodel
/
features
/
SequenceFeaturesI.java
diff --git
a/src/jalview/datamodel/features/SequenceFeaturesI.java
b/src/jalview/datamodel/features/SequenceFeaturesI.java
index
31712b9
..
ec4b38c
100644
(file)
--- a/
src/jalview/datamodel/features/SequenceFeaturesI.java
+++ b/
src/jalview/datamodel/features/SequenceFeaturesI.java
@@
-215,10
+215,19
@@
public interface SequenceFeaturesI
float getMaximumScore(String type, boolean positional);
/**
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
+ * Adds the shift amount to the start and end of all positional features whose
+ * start position is at or after fromPosition. Returns true if at least one
+ * feature was shifted, else false.
*
*
- * @param shift
+ * @param fromPosition
+ * @param shiftBy
*/
*/
- abstract boolean shiftFeatures(int shift);
-}
\ No newline at end of file
+ boolean shiftFeatures(int fromPosition, int shiftBy);
+
+ /**
+ * Deletes all positional and non-positional features
+ */
+ void deleteAll();
+
+ void findFeatures(int pos, String type, List<SequenceFeature> result);
+}