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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractScriptBuilderInfoSearchObject(CachedComponent comp, ActionAdapter adapter, java.lang.Class builderClass, java.lang.String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
The name of the object that matches the search pattern.java.lang.String
getText()
Gets the text representation of the search result.protected abstract java.lang.String
getValue(java.util.Map<java.lang.String,java.lang.Object> info)
void
setText(java.lang.String value)
Updates the search result with the new value- the "replace" in "search & replace".protected abstract void
setValue(java.util.Map<java.lang.String,java.lang.Object> info, java.lang.String newValue)
-
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
-
-
-
-
Constructor Detail
-
AbstractScriptBuilderInfoSearchObject
protected AbstractScriptBuilderInfoSearchObject(CachedComponent comp, ActionAdapter adapter, java.lang.Class builderClass, java.lang.String name)
-
-
Method Detail
-
getName
public java.lang.String 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
protected abstract java.lang.String getValue(java.util.Map<java.lang.String,java.lang.Object> info)
-
setValue
protected abstract void setValue(java.util.Map<java.lang.String,java.lang.Object> info, java.lang.String newValue) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
getText
public java.lang.String getText()
Description copied from interface:SearchObject
Gets the text representation of the search result. This is what will be used for the "search".
-
setText
public void setText(java.lang.String value) throws java.lang.IllegalArgumentException
Description copied from interface:SearchObject
Updates the search result with the new value- the "replace" in "search & replace".- Throws:
java.lang.IllegalArgumentException
- If the new text value is not suitable for this search object
-
-