Plugin_Refactoring_Rope.RefactoringRope.MethodToMethodObjectDialog

Module implementing the Method To Methodobject dialog.

Classes

MethodToMethodObjectDialog Class implementing the Method To Methodobject dialog.

Functions

None


MethodToMethodObjectDialog

Class implementing the Method To Methodobject dialog.

Derived from

RefactoringDialogBase, Ui_MethodToMethodObjectDialog

Methods

MethodToMethodObjectDialog Constructor
_calculateChanges Protected method to calculate the changes.
on_buttonBox_clicked Private slot to act on the button pressed.
on_nameEdit_textChanged Private slot to react to changes of the name.

MethodToMethodObjectDialog (Constructor)

MethodToMethodObjectDialog(refactoring, title, converter, parent = None)

Constructor

refactoring
reference to the main refactoring object (Refactoring)
title
title of the dialog (string or QString)
converter
reference to the converter object (rope.refactor.method_object.MethodObject)
parent
reference to the parent widget (QWidget)

MethodToMethodObjectDialog._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)

MethodToMethodObjectDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

Private slot to act on the button pressed.

button
reference to the button pressed (QAbstractButton)

MethodToMethodObjectDialog.on_nameEdit_textChanged

on_nameEdit_textChanged(text)

Private slot to react to changes of the name.

text
text entered into the edit (QString)
Up