Package | Description |
---|---|
org.netbeans.api.search |
This package contains classes that can be used by modules that need
to work with Search in Projects dialog, or want to share
information about what data was recently searched.
|
org.netbeans.api.search.provider |
Classes that you may need to work with if you are implementing
a custom search provider.
|
org.netbeans.api.search.ui |
Helpers for creating UI controls for your search provider that are
similar to controls in the default provider.
|
org.netbeans.spi.search |
This package contains classes that you can subclass and register to
lookups of nodes if you want to specify how the nodes should be
searched.
|
Modifier and Type | Method | Description |
---|---|---|
static SearchScopeOptions |
SearchScopeOptions.create() |
Create instance initialized with default options.
|
static SearchScopeOptions |
SearchScopeOptions.create(String pattern,
boolean regexp) |
|
static SearchScopeOptions |
SearchScopeOptions.create(String pattern,
boolean regexp,
boolean searchInArchives,
boolean searchInGenerated,
List<SearchFilterDefinition> filters) |
Modifier and Type | Method | Description |
---|---|---|
static Pattern |
RegexpUtil.makeFileNamePattern(SearchScopeOptions searchScopeOptions) |
Compile file name pattern for search options.
|
static void |
SearchControl.openFindDialog(SearchPattern searchPattern,
SearchScopeOptions searchScopeOptions,
Boolean useIgnoreList,
String scopeId) |
Shows dialog for basic search task.
|
static void |
SearchControl.openReplaceDialog(SearchPattern searchPattern,
String replaceString,
Boolean preserveCase,
SearchScopeOptions searchScopeOptions,
Boolean useIgnoreList,
String scopeId) |
Shows dialog for basic replace task.
|
static void |
SearchControl.startBasicSearch(SearchPattern searchPattern,
SearchScopeOptions searchScopeOptions,
String scopeId) |
Start basic search for specified parameters.
|
Modifier and Type | Method | Description |
---|---|---|
static FileNameMatcher |
FileNameMatcher.create(SearchScopeOptions options) |
Create an appripriate matcher for specific search options.
|
protected abstract Iterator<org.openide.filesystems.FileObject> |
SearchInfo.createFilesToSearchIterator(SearchScopeOptions options,
SearchListener listener,
AtomicBoolean terminated) |
Create
Iterator that iterates over all files in the search scope
that comply with search options and search filters. |
protected abstract Iterator<URI> |
SearchInfo.createUrisToSearchIterator(SearchScopeOptions options,
SearchListener listener,
AtomicBoolean terminated) |
Create
Iterator that iterates over all URIs in the search scope
that comply with search options and search filters. |
Iterable<org.openide.filesystems.FileObject> |
SearchInfo.getFilesToSearch(SearchScopeOptions options,
SearchListener listener,
AtomicBoolean terminated) |
Get
Iterable that iterates over all files in the search scope
that comply with search options and search filters. |
Iterable<URI> |
SearchInfo.getUrisToSearch(SearchScopeOptions options,
SearchListener listener,
AtomicBoolean terminated) |
Get
Iterable that iterates over all URIs in the search scope
that comply with search options and search filters. |
Modifier and Type | Method | Description |
---|---|---|
SearchScopeOptions |
ScopeOptionsController.getSearchScopeOptions() |
Return search scope options reflecting the actual state of the panel.
|
Modifier and Type | Method | Description |
---|---|---|
abstract Iterator<org.openide.filesystems.FileObject> |
SearchInfoDefinition.filesToSearch(SearchScopeOptions options,
SearchListener listener,
AtomicBoolean terminated) |
Specifies which
FileObject s should be searched. |
Iterator<URI> |
SearchInfoDefinition.urisToSearch(SearchScopeOptions options,
SearchListener listener,
AtomicBoolean terminated) |
Specifies which
URIs s should be searched. |
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.