public interface SearchService extends org.scijava.plugin.SingletonService<SearchActionFactory>, org.scijava.service.SciJavaService
| Modifier and Type | Method and Description |
|---|---|
default List<SearchAction> |
actions(SearchResult result)
Gets the suite of available actions for the given search result.
|
boolean |
enabled(Searcher s)
Gets whether the given searcher plugin is currently enabled.
|
default Class<SearchActionFactory> |
getPluginType() |
default SearchOperation |
search(SearchListener... callbacks)
Begins an asynchronous and multi-threaded search operation.
|
void |
setEnabled(Searcher s,
boolean enabled)
Enables or disables the given searcher plugin.
|
create, filterInstances, getInstance, getInstances, initialize, objectServicedefault SearchOperation search(SearchListener... callbacks)
callbacks - The objects to be notified as search results are found.
Callbacks will be made on the thread doing the search,
not the dispatch thread; it is the responsibility of
listeners to queue to the dispatch thread accordingly as needed
(e.g., to update UI elements).default List<SearchAction> actions(SearchResult result)
result - The search result for which available actions are desired.boolean enabled(Searcher s)
void setEnabled(Searcher s, boolean enabled)
default Class<SearchActionFactory> getPluginType()
getPluginType in interface org.scijava.plugin.PTService<SearchActionFactory>Copyright © 2017–2026 SciJava. All rights reserved.