uk.ac.ucl.cs.emofocl.jmibrowser.actions
Class EditAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by uk.ac.ucl.cs.emofocl.jmibrowser.actions.EditAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, TreeSelectionListener

public class EditAction
extends AbstractAction
implements TreeSelectionListener

For fields of a type with a custom editor, throws up the editor. Currently only works for strings.

Author:
jwskene
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
EditAction(JMITree parent)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void valueChanged(TreeSelectionEvent e)
           
 
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

EditAction

public EditAction(JMITree parent)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener
See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)

valueChanged

public void valueChanged(TreeSelectionEvent e)
Specified by:
valueChanged in interface TreeSelectionListener
See Also:
TreeSelectionListener.valueChanged(javax.swing.event.TreeSelectionEvent)