templates.presentation
Class IssuesWrapper.RenameAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by templates.presentation.IssuesWrapper.RenameAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Enclosing class:
IssuesWrapper

protected static class IssuesWrapper.RenameAction
extends javax.swing.AbstractAction

Action to relabel an entity.

Author:
Lenko Grigorov
See Also:
Serialized Form

Field Summary
protected  Entity entity
          The entity to be relabelled.
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
IssuesWrapper.RenameAction(Entity entity)
          Construct a new action to relabel the given entity.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Ask the user for the new label and then relabel the entity.
 
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
 

Field Detail

entity

protected Entity entity
The entity to be relabelled.

Constructor Detail

IssuesWrapper.RenameAction

public IssuesWrapper.RenameAction(Entity entity)
Construct a new action to relabel the given entity.

Parameters:
entity - the entity to be relabelled
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Ask the user for the new label and then relabel the entity.

See Also:
EntityLabellingDialog