Class DefaultSearchObject
java.lang.Object
com.inductiveautomation.ignition.designer.findreplace.DefaultSearchObject
- All Implemented Interfaces:
- SearchObject
- 
Nested Class SummaryNested Classes
- 
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.The name of the entity where this result is found.getText()Gets the text representation of the search result.booleanWhether or not the found object is mutable.voidlocate()Brings focus to the item in the UI in whatever way is appropriate.static DefaultSearchObject.BuildervoidUpdates the search result with the new value- the "replace" in "search & replace".
- 
Method Details- 
newBuilder
- 
getIconDescription copied from interface:SearchObjectReturns an icon that can be used to identify this type of result. Should be 16x16 or smaller.- Specified by:
- getIconin interface- SearchObject
 
- 
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
 
- 
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".- Specified by:
- getNamein interface- SearchObject
 
- 
getTextDescription copied from interface:SearchObjectGets the text representation of the search result. This is what will be used for the "search".- Specified by:
- getTextin interface- SearchObject
 
- 
setTextDescription copied from interface:SearchObjectUpdates the search result with the new value- the "replace" in "search & replace".- Specified by:
- setTextin interface- SearchObject
- Throws:
- IllegalArgumentException- If the new text value is not suitable for this search object
 
- 
locatepublic void locate()Description copied from interface:SearchObjectBrings focus to the item in the UI in whatever way is appropriate. Most of the time this will mean bringing up the editor for the object.- Specified by:
- locatein interface- SearchObject
 
- 
isMutablepublic boolean isMutable()Description copied from interface:SearchObjectWhether or not the found object is mutable. Used for display purposes, as well as whether or not setText should be called.- Specified by:
- isMutablein interface- SearchObject
 
 
-