public class DataObjectSearchGroup extends SearchGroup
SearchGroup
abstract class.SearchGroup
SearchGroup.Factory, SearchGroup.Registry
PROP_FOUND, PROP_RESULT, resultObjects, searchRoots, searchTypes, stopped
Constructor and Description |
---|
DataObjectSearchGroup() |
Modifier and Type | Method and Description |
---|---|
protected void |
add(SearchType searchType)
Adds a search type to this search group.
|
void |
doSearch()
Actual search implementation.
|
Node |
getNodeForFoundObject(Object object)
Gets node for found object.
|
addPropertyChangeListener, createSearchGroups, firePropertyChange, getResultObjects, getSearchRoots, getSearchTypes, onStopSearch, prepareSearch, processSearchObject, removePropertyChangeListener, search, setSearchRootNodes, stopSearch
protected void add(SearchType searchType)
DataObject
s, the group is left unmodified, too.add
in class SearchGroup
searchType
- search type to be addedSearchType.getSearchTypeClasses()
public void doSearch()
doSearch
in class SearchGroup
RuntimeException
- annotated at USER level by reason (on low memory condition)public Node getNodeForFoundObject(Object object)
getNodeForFoundObject
in class SearchGroup
null
if the object is not of DataObjectType