Class InsertTagAction
java.lang.Object
javax.swing.AbstractAction
com.inductiveautomation.ignition.client.util.action.BaseAction
com.inductiveautomation.ignition.designer.tags.tree.selection.TagReferenceAction
com.inductiveautomation.ignition.designer.sqltags.dialog.InsertTagAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
This action, which needs to be initialized with a text component, will show a dialog box prompting the user to find a
tag. When they choose one, the tag's path will be inserted into the text component
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.designer.tags.tree.selection.TagReferenceAction
TagReferenceAction.ReferenceStyle
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.designer.tags.tree.selection.TagReferenceAction
comp, component, SELECTION_PROP
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
ConstructorsConstructorDescriptionInsertTagAction
(DesignerContext context, TextlikeComponent comp) InsertTagAction
(DesignerContext context, TextlikeComponent comp, RelativePathProvider relativePathProv) This constructor is used internally and by overrides to delay initialization until after the sub class does what it needs to do.InsertTagAction
(TextlikeComponent comp, RelativePathProvider relativePathProv, Supplier<TagSelectionComponent> f) -
Method Summary
Methods inherited from class com.inductiveautomation.ignition.designer.tags.tree.selection.TagReferenceAction
actionPerformed, createButton, getParentComponent, getSelectionComponent, init, reset, setSelectionComponent, setStyle, setText, setToStringFull, show
Methods inherited from class com.inductiveautomation.ignition.client.util.action.BaseAction
create, createButton, createButton, evaluateEnabled, listenTo, listenTo, setBundleKey, setIcon, updateEnabled
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
InsertTagAction
-
InsertTagAction
public InsertTagAction(DesignerContext context, TextlikeComponent comp, RelativePathProvider relativePathProv) This constructor is used internally and by overrides to delay initialization until after the sub class does what it needs to do. -
InsertTagAction
public InsertTagAction(TextlikeComponent comp, RelativePathProvider relativePathProv, Supplier<TagSelectionComponent> f)
-