Class AbstractScriptBuilderInfoSearchObject
java.lang.Object
com.inductiveautomation.factorypmi.designer.search.searchobjects.AbstractActionHandlerSearchObject
com.inductiveautomation.factorypmi.designer.search.searchobjects.AbstractScriptBuilderInfoSearchObject
- All Implemented Interfaces:
SearchObject
- Direct Known Subclasses:
ScriptBuilderStringArraySearchObject
,ScriptBuilderStringListSearchObject
,ScriptBuilderStringSearchObject
public abstract class AbstractScriptBuilderInfoSearchObject
extends AbstractActionHandlerSearchObject
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractScriptBuilderInfoSearchObject
(CachedComponent comp, ActionAdapter adapter, Class<?> builderClass, String name) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
The name of the object that matches the search pattern.getText()
Gets the text representation of the search result.protected abstract String
void
Updates the search result with the new value- the "replace" in "search & replace".protected abstract void
Methods inherited from class com.inductiveautomation.factorypmi.designer.search.searchobjects.AbstractActionHandlerSearchObject
adapter, getIcon, getOwnerName, locate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.inductiveautomation.ignition.designer.findreplace.SearchObject
isMutable
-
Field Details
-
name
-
builderClass
-
-
Constructor Details
-
AbstractScriptBuilderInfoSearchObject
protected AbstractScriptBuilderInfoSearchObject(CachedComponent comp, ActionAdapter adapter, Class<?> builderClass, String name)
-
-
Method Details
-
getName
Description copied from interface:SearchObject
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". -
getValue
-
setValue
protected abstract void setValue(Map<String, Object> info, String newValue) throws IllegalArgumentException- Throws:
IllegalArgumentException
-
getText
Description copied from interface:SearchObject
Gets the text representation of the search result. This is what will be used for the "search". -
setText
Description copied from interface:SearchObject
Updates 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
-