Class CopyTagXmlAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, javax.swing.event.TreeSelectionListener

    public class CopyTagXmlAction
    extends TagTreeAction
    Used only for client tags. Allows client tags to be copied as XML text.
    See Also:
    Serialized Form
    • Method Detail

      • shouldBeEnabled

        protected boolean shouldBeEnabled​(BrowseTreeNode node)
        Description copied from class: TagTreeAction
        Called for each selected node that isn't a meta node. The action will become enabled only if all selected nodes are not meta nodes and this function returns true for each node.
        Specified by:
        shouldBeEnabled in class TagTreeAction
      • maxSelectionCount

        protected int maxSelectionCount()
        Specified by:
        maxSelectionCount in class TagTreeAction
        Returns:
        the maximum selection that could cause this action to be enabled
      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)