org.acm.seguin.uml.refactor
Class MoveMethodListener

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

public class MoveMethodListener
extends DialogViewListener

Listener for the move method menu item

Author:
Chris Seguin

Constructor Summary
MoveMethodListener(UMLPackage initPackage, TypeSummary initType, MethodSummary method, javax.swing.JPopupMenu initMenu, javax.swing.JMenuItem initItem)
          Constructor for the MoveMethodListener object
 
Method Summary
protected  javax.swing.JDialog createDialog()
          Creates an appropriate dialog to prompt the user for additional input
 
Methods inherited from class org.acm.seguin.uml.refactor.DialogViewListener
actionPerformed
 
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

MoveMethodListener

public MoveMethodListener(UMLPackage initPackage,
                          TypeSummary initType,
                          MethodSummary method,
                          javax.swing.JPopupMenu initMenu,
                          javax.swing.JMenuItem initItem)
Constructor for the MoveMethodListener object

Parameters:
initPackage - Description of Parameter
initType - Description of Parameter
initMenu - The popup menu
initItem - The current item
method - Description of Parameter
Method Detail

createDialog

protected javax.swing.JDialog createDialog()
Creates an appropriate dialog to prompt the user for additional input

Specified by:
createDialog in class DialogViewListener
Returns:
the dialog box