Class ClientScriptSearchProvider.MenuNodeScriptSearchObject
java.lang.Object
AbstractScriptSearchProvider<ClientScriptConfig>.AbstractScriptSearchObject
com.inductiveautomation.factorypmi.designer.search.ClientScriptSearchProvider.MenuNodeScriptSearchObject
- All Implemented Interfaces:
- SearchObject
- Enclosing class:
- ClientScriptSearchProvider
protected class ClientScriptSearchProvider.MenuNodeScriptSearchObject
extends AbstractScriptSearchProvider<ClientScriptConfig>.AbstractScriptSearchObject
- 
Constructor SummaryConstructors
- 
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.getNode()The name of the entity where this result is found.getText()Gets the text representation of the search result.voidUpdates the search result with the new value- the "replace" in "search & replace".Methods inherited from class com.inductiveautomation.ignition.designer.scripteditor.AbstractScriptSearchProvider.AbstractScriptSearchObjectlocateMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.designer.findreplace.SearchObjectisMutable
- 
Constructor Details- 
MenuNodeScriptSearchObject
 
- 
- 
Method Details- 
getNode
- 
getIconDescription copied from interface:SearchObjectReturns an icon that can be used to identify this type of result. Should be 16x16 or smaller.
- 
getOwnerNameDescription copied from interface:SearchObjectThe name of the entity where this result is found. Used in the results display to help distinguish similar items.- Specified by:
- getOwnerNamein interface- SearchObject
- Overrides:
- getOwnerNamein class- AbstractScriptSearchProvider<ClientScriptConfig>.AbstractScriptSearchObject
 
- 
getNameDescription 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".
- 
getTextDescription copied from interface:SearchObjectGets the text representation of the search result. This is what will be used for the "search".
- 
setTextDescription copied from interface:SearchObjectUpdates 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
 
 
-