Class AbstractScriptSearchProvider.SimplePropertySO
java.lang.Object
AbstractScriptSearchProvider<T>.AbstractScriptSearchObject
com.inductiveautomation.ignition.designer.scripteditor.AbstractScriptSearchProvider.SimplePropertySO
- All Implemented Interfaces:
SearchObject
- Enclosing class:
- AbstractScriptSearchProvider<T>
protected class AbstractScriptSearchProvider.SimplePropertySO
extends AbstractScriptSearchProvider<T>.AbstractScriptSearchObject
-
Constructor Summary
ConstructorsConstructorDescriptionSimplePropertySO
(String name, FragileSupplier<String, Exception> getter, FragileConsumer<String, Exception> setter) -
Method Summary
Modifier 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.getText()
Gets the text representation of the search result.void
Updates the search result with the new value- the "replace" in "search & replace".Methods inherited from class com.inductiveautomation.ignition.designer.scripteditor.AbstractScriptSearchProvider.AbstractScriptSearchObject
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 Details
-
SimplePropertySO
public SimplePropertySO(String name, FragileSupplier<String, Exception> getter, FragileConsumer<String, Exception> setter)
-
-
Method Details
-
getIcon
Description copied from interface:SearchObject
Returns an icon that can be used to identify this type of result. Should be 16x16 or smaller. -
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". -
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".
-