public class ScriptConfigSearchProvider<T extends ScriptConfig> extends AbstractScriptSearchProvider<T>
AbstractScriptSearchProvider.AbstractScriptSearchObject, AbstractScriptSearchProvider.MapIterator<K>, AbstractScriptSearchProvider.SimplePropertySO
SearchProvider.SelectedObjectsHandler
Constructor and Description |
---|
ScriptConfigSearchProvider(DesignerContext context,
java.lang.String name,
java.lang.String moduleId,
java.lang.String resourceType,
java.lang.Runnable locateFunc) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<SearchObject> |
retrieveSearchableObjects(java.util.Collection<java.lang.Object> categories,
java.util.List<java.lang.Object> searchObjects,
TaskProgressListener progress)
Returns an iterator that provides all of the objects described by the parameters.
|
getCategories, getContext, getLogger, getName, getSelectableObjectBaseKey, getTargetObject, hasSelectableObjects, loadTargetObject, saveResource, selectObjects, serialize, showEditorWindow
notifySearchClosed, selectedObjectsToString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExecutor
public ScriptConfigSearchProvider(DesignerContext context, java.lang.String name, java.lang.String moduleId, java.lang.String resourceType, java.lang.Runnable locateFunc)
public java.util.Iterator<SearchObject> retrieveSearchableObjects(java.util.Collection<java.lang.Object> categories, java.util.List<java.lang.Object> searchObjects, TaskProgressListener progress)
SearchProvider
The provided ProgressListener can be used to provide progress information as the Iterator is processed. Some providers may not be able to calculate progress, in which case they should call setIndeterminate(true), but the provider implementors are encouraged to provide anything they can, even if it's very coarse.
categories
- indicates the user selection (if applicable) of which categories should be searched.searchObjects
- the user selected objects (if applicable) to be searched.progress
- a progress listener for this provider, which can be updated as the returned Iterator is
used. If not supported, the provider should call setIndeterminate(true).