Plugin_Refactoring_Rope.RefactoringRope.MoveMethodDialog

Module implementing the Move Method dialog.

Classes

MoveMethodDialog Class implementing the Move Method dialog.

Functions

None


MoveMethodDialog

Class implementing the Move Method dialog.

Derived from

RefactoringDialogBase, Ui_MoveMethodDialog

Methods

MoveMethodDialog Constructor
__updateUI Private method to perform various UI updates.
_calculateChanges Protected method to calculate the changes.
on_attributeEdit_textChanged Private slot to react to changes of the attribute.
on_buttonBox_clicked Private slot to act on the button pressed.
on_methodEdit_textChanged Private slot to react to changes of the new method name.

MoveMethodDialog (Constructor)

MoveMethodDialog(refactoring, title, mover, parent = None)

Constructor

refactoring
reference to the main refactoring object (Refactoring)
title
title of the dialog (string or QString)
mover
reference to the mover object (rope.refactor.move.MoveMethod)
parent
reference to the parent widget (QWidget)

MoveMethodDialog.__updateUI

__updateUI()

Private method to perform various UI updates.

MoveMethodDialog._calculateChanges

_calculateChanges(handle)

Protected method to calculate the changes.

handle
reference to the task handle (rope.base.taskhandle.TaskHandle)
Returns:
reference to the Changes object (rope.base.change.ChangeSet)

MoveMethodDialog.on_attributeEdit_textChanged

on_attributeEdit_textChanged(txt)

Private slot to react to changes of the attribute.

text
text entered into the edit (QString)

MoveMethodDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

Private slot to act on the button pressed.

button
reference to the button pressed (QAbstractButton)

MoveMethodDialog.on_methodEdit_textChanged

on_methodEdit_textChanged(txt)

Private slot to react to changes of the new method name.

text
text entered into the edit (QString)
Up