Plugin_Refactoring_Rope.RefactoringRope.MoveModuleDialog

Module implementing the Move Module dialog.

Classes

MoveModuleDialog Class implementing the Move Module dialog.

Functions

None


MoveModuleDialog

Class implementing the Move Module dialog.

Derived from

RefactoringDialogBase, Ui_MoveModuleDialog

Methods

MoveModuleDialog Constructor
__checkDestination Private method to check the destination entered.
_calculateChanges Protected method to calculate the changes.
on_buttonBox_clicked Private slot to act on the button pressed.
on_destinationEdit_textChanged Slot called, when the destinationEdit text is changed.
on_selectButton_clicked Slot called to select the destination via a file selection dialog.

MoveModuleDialog (Constructor)

MoveModuleDialog(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)

MoveModuleDialog.__checkDestination

__checkDestination()

Private method to check the destination entered.

Returns:
flag indicating a valid entry (boolean)

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

MoveModuleDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

Private slot to act on the button pressed.

button
reference to the button pressed (QAbstractButton)

MoveModuleDialog.on_destinationEdit_textChanged

on_destinationEdit_textChanged(txt)

Slot called, when the destinationEdit text is changed.

MoveModuleDialog.on_selectButton_clicked

on_selectButton_clicked()

Slot called to select the destination via a file selection dialog.

Up