Interface SearchObject
- All Known Implementing Classes:
- AbstractActionHandlerSearchObject,- AbstractScriptBuilderInfoSearchObject,- AbstractScriptSearchProvider.AbstractScriptSearchObject,- AbstractScriptSearchProvider.MapIterator.MapEntrySearchObject,- AbstractScriptSearchProvider.SimplePropertySO,- ClientScriptSearchProvider.MenuNodeScriptSearchObject,- CustomFunctionSearchObject,- DatasetPropertySearchObject,- DefaultSearchObject,- DynamicPropertyNameSearchObject,- DynamicPropertyValueSearchObject,- ExtensionFunctionSearchObject,- ScriptBuilderStringArraySearchObject,- ScriptBuilderStringListSearchObject,- ScriptBuilderStringSearchObject,- ScriptSearchObject,- StandardPropertySearchObject
public interface SearchObject
A searchable object returned by a search provider. The Search/Replace engine will try to match the pattern against
 the result of getText, and if successful, will use the other methods of this class to represent the result
 to the user.
- 
Method SummaryModifier and TypeMethodDescriptiongetIcon()Returns an icon that can be used to identify this type of result.getName()The name of the object that matches the search pattern.The name of the entity where this result is found.getText()Gets the text representation of the search result.default booleanWhether or not the found object is mutable.voidlocate()Brings focus to the item in the UI in whatever way is appropriate.voidUpdates the search result with the new value- the "replace" in "search & replace".
- 
Method Details- 
getIconIcon getIcon()Returns an icon that can be used to identify this type of result. Should be 16x16 or smaller.
- 
getOwnerNameString getOwnerName()The name of the entity where this result is found. Used in the results display to help distinguish similar items.
- 
getNameString getName()The name of the object that matches the search pattern. In other words, a description of the element inside the owner, such as "Name", or "Expression".
- 
getTextString getText()Gets the text representation of the search result. This is what will be used for the "search".
- 
setTextUpdates the search result with the new value- the "replace" in "search & replace".- Throws:
- IllegalArgumentException- If the new text value is not suitable for this search object
 
- 
locatevoid locate()Brings focus to the item in the UI in whatever way is appropriate. Most of the time this will mean bringing up the editor for the object.
- 
isMutabledefault boolean isMutable()Whether or not the found object is mutable. Used for display purposes, as well as whether or not setText should be called.
 
-