X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FFinderI.java;h=19f6136a3a5740129f0a0869a56ceb22afb7889e;hb=3e8e8e87b0cf263412a93d4b46c32c319a08af8f;hp=a1a3efd144e32eaa2eca2fd14c73f4aa7d3d4e24;hpb=24de2d6a6f3db1b9d55f367e2bf8ba112e202a8a;p=jalview.git
diff --git a/src/jalview/api/FinderI.java b/src/jalview/api/FinderI.java
index a1a3efd..19f6136 100644
--- a/src/jalview/api/FinderI.java
+++ b/src/jalview/api/FinderI.java
@@ -1,7 +1,6 @@
package jalview.api;
import jalview.datamodel.SearchResultsI;
-import jalview.datamodel.SequenceGroup;
import jalview.datamodel.SequenceI;
import java.util.List;
@@ -16,7 +15,7 @@ public interface FinderI
* Performs a find for the given search string (interpreted as a regular
* expression). Search may optionally be case-sensitive, and may optionally
* including match in sequence description (sequence id is always searched).
- * If selection
is not null, then the find is restricted to the
+ * If the viewport has an active selection, then the find is restricted to the
* selection region. Sequences matched by id or description can be retrieved
* by getIdMatches(), and matched residue patterns by getSearchResults().
*
@@ -25,26 +24,25 @@ public interface FinderI
* @param searchDescription
* @return
*/
- void findAll(String theSearchString, SequenceGroup selection,
- boolean caseSensitive, boolean searchDescription);
+ void findAll(String theSearchString, boolean caseSensitive,
+ boolean searchDescription);
/**
* Finds the next match for the given search string (interpreted as a regular
* expression), starting from the position after the last match found. Search
* may optionally be case-sensitive, and may optionally including match in
- * sequence description (sequence id is always searched). If
- * selection
is not null, then the find is restricted to the
- * selection region. Sequences matched by id or description can be retrieved
- * by getIdMatches(), and matched residue patterns by getSearchResults().
+ * sequence description (sequence id is always searched). If the viewport has
+ * an active selection, then the find is restricted to the selection region.
+ * Sequences matched by id or description can be retrieved by getIdMatches(),
+ * and matched residue patterns by getSearchResults().
*
* @param theSearchString
- * @param selection
* @param caseSensitive
* @param searchDescription
* @return
*/
- void findNext(String theSearchString, SequenceGroup selection,
- boolean caseSensitive, boolean searchDescription);
+ void findNext(String theSearchString, boolean caseSensitive,
+ boolean searchDescription);
/**
* Returns the (possibly empty) list of sequences matched on sequence name or