Plugin_Refactoring_Rope.RefactoringRope.IntroduceFactoryDialog
Module implementing the Introduce Factory dialog.
Classes
Functions
IntroduceFactoryDialog
Class implementing the Introduce Factory dialog.
Derived from
RefactoringDialogBase, Ui_IntroduceFactoryDialog
Methods
IntroduceFactoryDialog (Constructor)
IntroduceFactoryDialog(refactoring, title, introducer, parent = None)
Constructor
- refactoring
-
reference to the main refactoring object (Refactoring)
- title
-
title of the dialog (string or QString)
- introducer
-
reference to the factory introducer object
(rope.refactor.introduce_factory.IntroduceFactoryRefactoring)
- parent
-
reference to the parent widget (QWidget)
IntroduceFactoryDialog._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)
IntroduceFactoryDialog.on_buttonBox_clicked
on_buttonBox_clicked(button)
Private slot to act on the button pressed.
- button
-
reference to the button pressed (QAbstractButton)
IntroduceFactoryDialog.on_nameEdit_textChanged
on_nameEdit_textChanged(text)
Private slot to react to changes of the name.
- text
-
text entered into the edit (QString)