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
ConstructorsModifierConstructorDescriptionprotectedAbstractScriptBuilderInfoSearchObject(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 StringvoidUpdates the search result with the new value- the "replace" in "search invalid input: '&' replace".protected abstract voidMethods inherited from class AbstractActionHandlerSearchObject
adapter, getIcon, getOwnerName, locateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:SearchObjectThe 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:SearchObjectGets the text representation of the search result. This is what will be used for the "search". -
setText
Description copied from interface:SearchObjectUpdates the search result with the new value- the "replace" in "search invalid input: '&' replace".- Throws:
IllegalArgumentException- If the new text value is not suitable for this search object
-