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:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class InsertTagAction extends TagReferenceAction
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:
- Serialized Form
-
-
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
-
-
Constructor Summary
Constructors Constructor Description InsertTagAction(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, java.util.function.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
-
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 Detail
-
InsertTagAction
public InsertTagAction(DesignerContext context, TextlikeComponent comp)
-
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, java.util.function.Supplier<TagSelectionComponent> f)
-
-