easik.ui.tree.popup
Class AddAttributeAction

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

public class AddAttributeAction
extends javax.swing.AbstractAction

Add attribute popup menu action for the information tree.

Since:
2006-06-14 Kevin Green
Version:
2006-07-26 Kevin Green
Author:
Kevin Green 2006
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
AddAttributeAction()
          Set up the add attribute menu option.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Inserts an attribute to the currently selected entity (or parent entity if attribute is selected) in the tree
 
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

AddAttributeAction

public AddAttributeAction()
Set up the add attribute menu option.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Inserts an attribute to the currently selected entity (or parent entity if attribute is selected) in the tree

Parameters:
e - The action event