easik.ui.menu.popup
Class DeleteAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by easik.ui.menu.popup.DeleteAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class DeleteAction
extends javax.swing.AbstractAction

Action used by the Delete menu option.

Author:
Rob Fletcher 2005
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
DeleteAction()
          The delete button gets initialized
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          When the action is performed, selection is deleted if possible.
 
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
 

Constructor Detail

DeleteAction

public DeleteAction()
The delete button gets initialized

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
When the action is performed, selection is deleted if possible. Error is displayed if no graph item is selected.

Parameters:
e - The action event