Package | Description |
---|---|
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 and Description |
---|---|
static SearchInfo |
SearchInfoUtils.createCompoundSearchInfo(SearchInfo... delegates)
Creates a
SearchInfo compound of the given delegates. |
static SearchInfo |
SearchInfoUtils.createEmptySearchInfo()
Create a SearchInfo instance that is always unsearchable.
|
static SearchInfo |
SearchInfoUtils.createForDefinition(SearchInfoDefinition definition)
Create a new SearchInfo for a
SearchInfoDefinition instance. |
static SearchInfo |
SearchInfoUtils.createSearchInfoForRoot(FileObject root)
Create a search info for a FileObject.
|
static SearchInfo |
SearchInfoUtils.createSearchInfoForRoots(FileObject[] roots)
Create a search info for an array of FileObjects.
|
static SearchInfo |
SearchInfoUtils.createSearchInfoForRoots(FileObject[] roots,
boolean useDefaultFilters,
SearchFilterDefinition... extraFilters)
Create a search info for an array of FileObjects.
|
static SearchInfo |
SearchInfoUtils.findDefinedSearchInfo(Node node)
Get a search info for a node, if it was explicitly defined in node's
lookup, or in lookup of a ancestor node.
|
static SearchInfo |
SearchInfoUtils.getSearchInfoForNode(Node node)
Gets a search info for node.
|
Modifier and Type | Method and Description |
---|---|
static SearchInfo |
SearchInfoUtils.createCompoundSearchInfo(SearchInfo... delegates)
Creates a
SearchInfo compound of the given delegates. |
Modifier and Type | Method and Description |
---|---|
SearchInfo |
ScopeController.getSearchInfo()
Get search info for selected search scope.
|
Modifier and Type | Method and Description |
---|---|
abstract SearchInfo |
SearchScopeDefinition.getSearchInfo()
Returns object defining the actual search scope, i.e.
|