X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FFinderI.java;h=697072b3d1ee27ee596ed5fc823f6a840f34c6c9;hb=d42b7588a34477b24ce97ba75788536e74e6cf86;hp=8f6232e25816e7647e132bd44fe23e4212b5104f;hpb=6b13a606027284408286d1cd2833470d1f9b9bfe;p=jalview.git diff --git a/src/jalview/api/FinderI.java b/src/jalview/api/FinderI.java index 8f6232e..697072b 100644 --- a/src/jalview/api/FinderI.java +++ b/src/jalview/api/FinderI.java @@ -20,11 +20,11 @@ */ package jalview.api; +import java.util.List; + import jalview.datamodel.SearchResultsI; import jalview.datamodel.SequenceI; -import java.util.List; - /** * An interface for searching for a pattern in an aligment */ @@ -34,10 +34,10 @@ 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 - * 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(). + * including match in 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(). *

* If {@code ignoreHidden} is true, then any residues in hidden columns are * ignored (skipped) when matching, so for example pattern {@code KRT} would @@ -49,33 +49,37 @@ public interface FinderI * @param theSearchString * @param caseSensitive * @param searchDescription + * @param searchFeatureDesc * @param ignoreHidden * @return */ void findAll(String theSearchString, boolean caseSensitive, - boolean searchDescription, boolean ignoreHidden); + boolean searchDescription, boolean searchFeatureDesc, + boolean ignoreHidden); /** * 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 the viewport has an - * active selection, then the find is restricted to the selection region. + * 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(). *

- * If {@code ignoreHidden} is true, any hidden residues are skipped (matches may - * span them). If false, they are included for matching purposes. In either - * cases, entirely hidden matches are not returned. + * If {@code ignoreHidden} is true, any hidden residues are skipped (matches + * may span them). If false, they are included for matching purposes. In + * either cases, entirely hidden matches are not returned. * * @param theSearchString * @param caseSensitive * @param searchDescription + * @param searchFeatureDesc * @param ignoreHidden * @return */ void findNext(String theSearchString, boolean caseSensitive, - boolean searchDescription, boolean ignoreHidden); + boolean searchDescription, boolean searchFeatureDesc, + boolean ignoreHidden); /** * Returns the (possibly empty) list of sequences matched on sequence name or @@ -92,4 +96,6 @@ public interface FinderI */ SearchResultsI getSearchResults(); + void setFeatureRenderer(FeatureRenderer featureRenderer); + } \ No newline at end of file