org.acm.seguin.ide.common.action
Class PushUpFieldAction

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.PushUpFieldAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class PushUpFieldAction
extends GenericAction

Pushes a field into the parent 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
PushUpFieldAction()
          Constructor for the PushUpFieldAction object
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          The action to be performed
protected  void activateListener(TypeSummary[] typeSummaryArray, java.awt.event.ActionEvent evt)
          Description of the Method
protected  boolean isAllJava()
          Gets the AllJava attribute of the AddParentClassAction object
 boolean isEnabled()
          Gets the Enabled attribute of the PushUpFieldAction 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 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

PushUpFieldAction

public PushUpFieldAction()
Constructor for the PushUpFieldAction object

Method Detail

isEnabled

public boolean isEnabled()
Gets the Enabled attribute of the PushUpFieldAction object

Specified by:
isEnabled in interface javax.swing.Action
Overrides:
isEnabled in class javax.swing.AbstractAction
Returns:
The Enabled value

activateListener

protected void activateListener(TypeSummary[] typeSummaryArray,
                                java.awt.event.ActionEvent evt)
Description of the Method

Parameters:
evt - Description of Parameter
typeSummaryArray - Description of Parameter

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.