org.acm.seguin.uml.refactor
Class BatchRename
java.lang.Object
java.awt.event.MouseAdapter
org.acm.seguin.uml.PopupMenuListener
org.acm.seguin.uml.refactor.BatchRename
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener
public class BatchRename
- extends PopupMenuListener
Performs the hungarian name renaming to an entire class
- Author:
- Chris Seguin
Constructor Summary |
BatchRename(javax.swing.JPopupMenu initMenu,
javax.swing.JMenuItem initItem,
TypeSummary typeSummary)
Constructor for the BatchRename object |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent evt)
A menu item has been selected, display the dialog box |
void |
run(TypeSummary typeSummary)
Main processing method for the BatchRename object |
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 |
BatchRename
public BatchRename(javax.swing.JPopupMenu initMenu,
javax.swing.JMenuItem initItem,
TypeSummary typeSummary)
- Constructor for the BatchRename object
- Parameters:
initMenu
- The popup menuinitItem
- The current itemtypeSummary
- Description of the Parameter
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
- A menu item has been selected, display the dialog box
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- Overrides:
actionPerformed
in class PopupMenuListener
- Parameters:
evt
- the action event
run
public void run(TypeSummary typeSummary)
- Main processing method for the BatchRename object
- Parameters:
typeSummary
- Description of the Parameter