org.acm.seguin.ide.jbuilder.refactor
Class JBuilderRenameClassAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.acm.seguin.ide.common.action.GenericAction
          extended by org.acm.seguin.ide.common.action.RenameClassAction
              extended by org.acm.seguin.ide.jbuilder.refactor.JBuilderRenameClassAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class JBuilderRenameClassAction
extends RenameClassAction

Renames the class

Author:
Chris Seguin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.acm.seguin.ide.common.action.GenericAction
ACCELERATOR
 
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
JBuilderRenameClassAction(Node[] init)
          Constructor for the RenameClassAction object
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          The action to be performed
protected  boolean isAllJava()
          Gets the AllJava attribute of the AddParentClassAction object
protected  boolean isSingleJavaFile()
          Gets the SingleJavaFile attribute of the AddChildClassAction object
protected  void updateMetaData()
          Reloads all the metadata before attempting to perform a refactoring.
 
Methods inherited from class org.acm.seguin.ide.common.action.RenameClassAction
activateListener, initNames, isEnabled
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBuilderRenameClassAction

public JBuilderRenameClassAction(Node[] init)
Constructor for the RenameClassAction object

Parameters:
init - Description of Parameter
Method Detail

isAllJava

protected boolean isAllJava()
Gets the AllJava attribute of the AddParentClassAction object

Returns:
The AllJava value

isSingleJavaFile

protected boolean isSingleJavaFile()
Gets the SingleJavaFile attribute of the AddChildClassAction object

Returns:
The SingleJavaFile value

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
The action to be performed

Parameters:
evt - the triggering event

updateMetaData

protected void updateMetaData()
Reloads all the metadata before attempting to perform a refactoring.