Class InsertHistoricalTagAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- com.inductiveautomation.ignition.designer.sqltags.dialog.InsertHistoricalTagAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class InsertHistoricalTagAction extends javax.swing.AbstractAction
This action, which needs to be initialized with a text component, will show a dialog box prompting the user to find a historical tag. When they choose one, the tag's path will be inserted into the text component- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CLOSE_DELIM
protected com.jidesoft.editor.CodeEditor
jTextArea
protected javax.swing.text.JTextComponent
jTextComp
static java.lang.String
OPEN_DELIM
protected HistoricalTagTreeBrowserPanel
panel
-
Constructor Summary
Constructors Constructor Description InsertHistoricalTagAction(DesignerContext context, com.jidesoft.editor.CodeEditor area)
InsertHistoricalTagAction(DesignerContext context, javax.swing.text.JTextComponent area)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent evt)
javax.swing.JButton
createButton()
void
reset(com.jidesoft.editor.CodeEditor area)
void
setCloseDelim(java.lang.String closeDelim)
void
setOpenDelim(java.lang.String openDelim)
protected void
setText(java.lang.String s)
void
setToStringFull(boolean toStringFull)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
panel
protected HistoricalTagTreeBrowserPanel panel
-
jTextArea
protected com.jidesoft.editor.CodeEditor jTextArea
-
jTextComp
protected javax.swing.text.JTextComponent jTextComp
-
OPEN_DELIM
public static final java.lang.String OPEN_DELIM
- See Also:
- Constant Field Values
-
CLOSE_DELIM
public static final java.lang.String CLOSE_DELIM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InsertHistoricalTagAction
public InsertHistoricalTagAction(DesignerContext context, com.jidesoft.editor.CodeEditor area)
-
InsertHistoricalTagAction
public InsertHistoricalTagAction(DesignerContext context, javax.swing.text.JTextComponent area)
-
-
Method Detail
-
createButton
public javax.swing.JButton createButton()
-
setText
protected void setText(java.lang.String s)
-
reset
public void reset(com.jidesoft.editor.CodeEditor area)
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
-
setOpenDelim
public void setOpenDelim(java.lang.String openDelim)
-
setCloseDelim
public void setCloseDelim(java.lang.String closeDelim)
-
setToStringFull
public void setToStringFull(boolean toStringFull)
-
-