public final class SearchControl
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static void |
openFindDialog(SearchPattern searchPattern,
SearchScopeOptions searchScopeOptions,
java.lang.Boolean useIgnoreList,
java.lang.String scopeId) |
Shows dialog for basic search task.
|
static void |
openFindDialog(SearchProvider.Presenter presenter) |
Show find dialog with a concrete presenter for one of providers.
|
static void |
openReplaceDialog(SearchPattern searchPattern,
java.lang.String replaceString,
java.lang.Boolean preserveCase,
SearchScopeOptions searchScopeOptions,
java.lang.Boolean useIgnoreList,
java.lang.String scopeId) |
Shows dialog for basic replace task.
|
static void |
openReplaceDialog(SearchProvider.Presenter presenter) |
Show replace dialog with a concrete presenter for one of providers.
|
static void |
startBasicSearch(SearchPattern searchPattern,
SearchScopeOptions searchScopeOptions,
java.lang.String scopeId) |
Start basic search for specified parameters.
|
public static void openFindDialog(@NullAllowed
SearchPattern searchPattern,
@NullAllowed
SearchScopeOptions searchScopeOptions,
@NullAllowed
java.lang.Boolean useIgnoreList,
@NullAllowed
java.lang.String scopeId)
public static void openReplaceDialog(@NullAllowed
SearchPattern searchPattern,
@NullAllowed
java.lang.String replaceString,
@NullAllowed
java.lang.Boolean preserveCase,
@NullAllowed
SearchScopeOptions searchScopeOptions,
@NullAllowed
java.lang.Boolean useIgnoreList,
@NullAllowed
java.lang.String scopeId)
public static void openFindDialog(SearchProvider.Presenter presenter)
presenter - Presenter to use, possibly initialized with proper
values.public static void openReplaceDialog(SearchProvider.Presenter presenter)
presenter - Presenter to use, possibly initialized with proper
values.public static void startBasicSearch(@NonNull
SearchPattern searchPattern,
@NonNull
SearchScopeOptions searchScopeOptions,
@NullAllowed
java.lang.String scopeId)
throws java.lang.IllegalArgumentException
scopeId - Identifier of search scope (e.g. "main project",
"open projects", "node selection", "browse"). If not specified, the
default one is used.java.lang.IllegalArgumentException - if neither non-trivial file name pattern
nor non-empty text search pattern is specified.Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.