Class AbstractActionHandlerSearchObject
- java.lang.Object
-
- com.inductiveautomation.factorypmi.designer.search.searchobjects.AbstractActionHandlerSearchObject
-
- All Implemented Interfaces:
SearchObject
- Direct Known Subclasses:
AbstractScriptBuilderInfoSearchObject
,ScriptSearchObject
public abstract class AbstractActionHandlerSearchObject extends java.lang.Object implements SearchObject
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractActionHandlerSearchObject(CachedComponent comp, ActionAdapter adapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ActionAdapter
adapter()
javax.swing.Icon
getIcon()
Returns an icon that can be used to identify this type of result.java.lang.String
getOwnerName()
The name of the entity where this result is found.void
locate()
Brings focus to the item in the UI in whatever way is appropriate.-
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
getName, getText, isMutable, setText
-
-
-
-
Constructor Detail
-
AbstractActionHandlerSearchObject
protected AbstractActionHandlerSearchObject(CachedComponent comp, ActionAdapter adapter)
-
-
Method Detail
-
adapter
protected ActionAdapter adapter()
-
getIcon
public javax.swing.Icon getIcon()
Description copied from interface:SearchObject
Returns an icon that can be used to identify this type of result. Should be 16x16 or smaller.- Specified by:
getIcon
in interfaceSearchObject
-
getOwnerName
public java.lang.String getOwnerName()
Description copied from interface:SearchObject
The name of the entity where this result is found. Used in the results display to help distinguish similar items.- Specified by:
getOwnerName
in interfaceSearchObject
-
locate
public void locate()
Description copied from interface:SearchObject
Brings 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:
locate
in interfaceSearchObject
-
-