Class 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  
      • 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
    • 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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.Action

        accept
    • 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)