org.acm.seguin.uml.refactor
Class PushUpAbstractMethodListener

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by org.acm.seguin.uml.PopupMenuListener
          extended by org.acm.seguin.uml.refactor.NoInputRefactoringListener
              extended by org.acm.seguin.uml.refactor.PushUpAbstractMethodListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener

public class PushUpAbstractMethodListener
extends NoInputRefactoringListener

Pushes a field into the parent class

Author:
Chris Seguin

Constructor Summary
PushUpAbstractMethodListener(UMLPackage initPackage, MethodSummary initMethod, javax.swing.JPopupMenu initMenu, javax.swing.JMenuItem initItem)
          Constructor for the PushUpAbstractMethodListener object
 
Method Summary
protected  Refactoring createRefactoring()
          Creates a refactoring to be performed
 
Methods inherited from class org.acm.seguin.uml.refactor.NoInputRefactoringListener
actionPerformed, updateSummaries
 
Methods inherited from class org.acm.seguin.uml.PopupMenuListener
mouseEntered, mouseExited
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseDragged, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PushUpAbstractMethodListener

public PushUpAbstractMethodListener(UMLPackage initPackage,
                                    MethodSummary initMethod,
                                    javax.swing.JPopupMenu initMenu,
                                    javax.swing.JMenuItem initItem)
Constructor for the PushUpAbstractMethodListener object

Parameters:
initPackage - the UML package that is being operated on
initMenu - The popup menu
initItem - The current item
initMethod - The method
Method Detail

createRefactoring

protected Refactoring createRefactoring()
Creates a refactoring to be performed

Specified by:
createRefactoring in class NoInputRefactoringListener
Returns:
the refactoring