org.acm.seguin.uml.refactor
Class RenameFieldListener

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.RenameFieldListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener

public class RenameFieldListener
extends DialogViewListener

Adds a rename class listener

Author:
Chris Seguin

Constructor Summary
RenameFieldListener(UMLPackage initPackage, FieldSummary initField, javax.swing.JPopupMenu initMenu, javax.swing.JMenuItem initItem)
          Constructor for the RenameFieldListener 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

RenameFieldListener

public RenameFieldListener(UMLPackage initPackage,
                           FieldSummary initField,
                           javax.swing.JPopupMenu initMenu,
                           javax.swing.JMenuItem initItem)
Constructor for the RenameFieldListener object

Parameters:
initPackage - Description of Parameter
initField - Description of Parameter
initMenu - The popup menu
initItem - The current item
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