Class PasteAction

All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class PasteAction
extends SelectionAction
Represents a graph element paste action.
Version:
$Revision: 1.12 $
See Also:
Serialized Form
  • Field Details

  • Constructor Details

    • PasteAction

      public PasteAction​(MainFrame mainFrame)
      Constructs a new popup action.
      Parameters:
      mainFrame - DOCUMENT ME!
  • Method Details

    • getHelpContext

      public HelpContext getHelpContext()
      Returns the help context for the action.
      Overrides:
      getHelpContext in class GraffitiAction
      Returns:
      the help context for the action
    • actionPerformed

      public void actionPerformed​(ActionEvent e)
      Executes this action.
      Parameters:
      e - DOCUMENT ME!
    • isEnabled

      public boolean isEnabled()
      Description copied from class: GraffitiAction
      Returns true, if this action is enabled.
      Specified by:
      isEnabled in interface Action
      Specified by:
      isEnabled in class SelectionAction
      Returns:
      true, if this action is enabled.