Plugin_Refactoring_Rope.RefactoringRope.ExtractDialog
Module implementing the Extract dialog.
Classes
Functions
ExtractDialog
Class implementing the Extract dialog.
Derived from
RefactoringDialogBase, Ui_ExtractDialog
Methods
ExtractDialog (Constructor)
ExtractDialog(refactoring, title, extractor, parent = None)
Constructor
- refactoring
-
reference to the main refactoring object (Refactoring)
- title
-
title of the dialog (string or QString)
- extractor
-
reference to the extractor object
(rope.refactor.extract.ExtractMethod or rope.refactor.extract.ExtractVariable)
- parent
-
reference to the parent widget (QWidget)
ExtractDialog._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)
ExtractDialog.on_buttonBox_clicked
on_buttonBox_clicked(button)
Private slot to act on the button pressed.
- button
-
reference to the button pressed (QAbstractButton)
ExtractDialog.on_newNameEdit_textChanged
on_newNameEdit_textChanged(text)
Private slot to react to changes of the new name.
- text
-
text entered into the edit (QString)