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.ui |
Helpers for creating UI controls for your search provider that are
similar to controls in the default provider.
|
Modifier and Type | Method and Description |
---|---|
SearchPattern |
SearchPattern.changeMatchCase(boolean matchCase)
Create new instance with "match case" set to passed value, and other
values copied from this instance.
|
SearchPattern |
SearchPattern.changeMatchType(SearchPattern.MatchType matchType)
Create new instance with "match type" set to passed value, and other
values copied from this instance.
|
SearchPattern |
SearchPattern.changeRegExp(boolean regExp)
Create new instance with "regular expression" set to passed value, and
other values copied from this instance.
|
SearchPattern |
SearchPattern.changeSearchExpression(String expression)
Create new instance with "search expression" set to passed value, and
other values copied from this instance.
|
SearchPattern |
SearchPattern.changeWholeWords(boolean wholeWords)
Create new instance with "whole words" set to passed value, and other
values copied from this instance.
|
static SearchPattern |
SearchPattern.create(String searchExpression,
boolean wholeWords,
boolean matchCase,
boolean regExp)
Creates a new SearchPattern in accordance with given parameters
|
static SearchPattern |
SearchPattern.create(String searchExpression,
boolean wholeWords,
boolean matchCase,
SearchPattern.MatchType matchType)
Creates a new SearchPattern in accordance with given parameters
|
SearchPattern |
SearchHistory.getLastSelected()
Deprecated.
Use
getSearchPatterns().get(0) |
Modifier and Type | Method and Description |
---|---|
void |
SearchHistory.add(SearchPattern pattern)
Adds SearchPattern to SearchHistory
|
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.
|
void |
SearchHistory.setLastSelected(SearchPattern pattern)
Deprecated.
Use only
add(SearchPattern pattern) |
static void |
SearchControl.startBasicSearch(SearchPattern searchPattern,
SearchScopeOptions searchScopeOptions,
String scopeId)
Start basic search for specified parameters.
|
Modifier and Type | Method and Description |
---|---|
SearchPattern |
SearchPatternController.getSearchPattern()
Get search pattern currently represented by this controller.
|
Modifier and Type | Method and Description |
---|---|
void |
SearchPatternController.setSearchPattern(SearchPattern searchPattern)
Set text and options to represent a search pattern.
|