|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
An interface representing a search result configuration.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.rse.services.search.IHostSearchConstants |
|---|
CANCELLED, DISCONNECTED, FINISHED, RUNNING |
| Method Summary | |
|---|---|
void |
addResult(Object result)
Adds a search result. |
void |
addResults(Object container,
IHostSearchResult[] results)
Adds a set of search results along their associated container |
void |
cancel()
Cancels the search if it is running. |
void |
dispose()
Cancels the search and then removes the search results. |
IHostSearchResult[] |
getContainedResults(Object resultContainer)
Gets the results contained within the resultContainer |
IHostSearchResultSet |
getParentResultSet()
Gets the parent result set. |
Object[] |
getResults()
Gets search results. |
int |
getResultsSize()
Gets the size of the results. |
SystemSearchString |
getSearchString()
Gets the search string. |
Object |
getSearchTarget()
Gets the object to be searched. |
int |
getStatus()
Gets the status of the search. |
void |
removeAndAddResult(Object oldResult,
Object newResult)
Removes the old result and adds a new result. |
void |
removeResult(Object result)
Removes a search result. |
void |
removeResults()
Removes all search results. |
void |
setParentResultSet(IHostSearchResultSet resultSet)
Sets the parent result set. |
void |
setSearchHandler(ISearchHandler handler)
Sets the search handler |
void |
setSearchString(SystemSearchString string)
Sets the search string. |
void |
setSearchTarget(Object searchObject)
Sets the object to be searched. |
void |
setStatus(int status)
Sets the status of the search. |
| Method Detail |
public void setParentResultSet(IHostSearchResultSet resultSet)
resultSet - the parent result set.public IHostSearchResultSet getParentResultSet()
public IHostSearchResult[] getContainedResults(Object resultContainer)
resultContainer -
public void setSearchTarget(Object searchObject)
searchObject - the object to be searched.public Object getSearchTarget()
public void setSearchString(SystemSearchString string)
string - the search string.public SystemSearchString getSearchString()
public void addResult(Object result)
result - a search result.
public void addResults(Object container,
IHostSearchResult[] results)
container - results - public void removeResult(Object result)
result - a search result.
public void removeAndAddResult(Object oldResult,
Object newResult)
oldResult - the old result.newResult - the new result.public Object[] getResults()
public int getResultsSize()
public void removeResults()
public void setStatus(int status)
RUNNING, FINISHED,
CANCELLED, or DISCONNECTED.
public int getStatus()
RUNNING, FINISHED,
CANCELLED, or DISCONNECTED.
public void cancel()
public void dispose()
super first.
public void setSearchHandler(ISearchHandler handler)
handler -
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||