Class BluetoothScriptSearchObject
java.lang.Object
com.inductiveautomation.ignition.designer.scripteditor.search.AbstractScriptSearchObject
com.inductiveautomation.perspective.designer.search.script.BluetoothScriptSearchObject
- All Implemented Interfaces:
SearchObject
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.designer.scripteditor.search.AbstractScriptSearchObject
context, resource, workspace -
Constructor Summary
ConstructorsConstructorDescriptionBluetoothScriptSearchObject(ResourceWorkspace workspace, DesignerContext context, Resource resource) -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()Returns an icon that can be used to identify this type of result.The name of the entity where this result is found.getText()Gets the text representation of the search result.protected voidOpens the editor for the resource in the current workspace.protected voidserializeResource(ResourceBuilder builder) Serializes the specific resource into the providedResourceBuilder.voidUpdates the search result with the new value- the "replace" in "search & replace".Methods inherited from class com.inductiveautomation.ignition.designer.scripteditor.search.AbstractScriptSearchObject
getName, locate, saveResourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.designer.findreplace.SearchObject
isMutable
-
Constructor Details
-
BluetoothScriptSearchObject
public BluetoothScriptSearchObject(ResourceWorkspace workspace, DesignerContext context, Resource resource)
-
-
Method Details
-
getIcon
Description copied from interface:SearchObjectReturns an icon that can be used to identify this type of result. Should be 16x16 or smaller.- Specified by:
getIconin interfaceSearchObject- Overrides:
getIconin classAbstractScriptSearchObject
-
getOwnerName
Description copied from interface:SearchObjectThe name of the entity where this result is found. Used in the results display to help distinguish similar items. -
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 & replace".- Throws:
IllegalArgumentException- If the new text value is not suitable for this search object
-
openEditor
protected void openEditor()Description copied from class:AbstractScriptSearchObjectOpens the editor for the resource in the current workspace. Implementations should handle the specific workspace type.- Specified by:
openEditorin classAbstractScriptSearchObject
-
serializeResource
Description copied from class:AbstractScriptSearchObjectSerializes the specific resource into the providedResourceBuilder. Subclasses should implement this method to apply their resource-specific serialization logic.- Specified by:
serializeResourcein classAbstractScriptSearchObject- Parameters:
builder- theResourceBuilderinstance representing the resource to be serialized
-