Plugin_Refactoring_Rope.RefactoringRope.RefactoringDialogBase

Module implementing the Refactoring dialog base class.

Classes

RefactoringDialogBase Class implementing the Refactoring dialog base class.

Functions

None


RefactoringDialogBase

Class implementing the Refactoring dialog base class.

Derived from

QDialog

Methods

RefactoringDialogBase Constructor
__createProgressHandle Private method to create a TaskHandle to update a progress dialog.
__getChanges Private method to build the Changes object.
_calculateChanges Protected method to calculate the changes.
applyChanges Public method to apply the changes.
previewChanges Public method to preview the changes.

RefactoringDialogBase (Constructor)

RefactoringDialogBase(refactoring, title, parent = None)

Constructor

refactoring
reference to the main refactoring object (Refactoring)
title
title of the dialog (string or QString)
parent
reference to the parent widget (QWidget)

RefactoringDialogBase.__createProgressHandle

__createProgressHandle(interruptable = True)

Private method to create a TaskHandle to update a progress dialog.

interruptable
flag indicating, that the task may be interrupted (boolean)

RefactoringDialogBase.__getChanges

__getChanges()

Private method to build the Changes object.

Returns:
reference to the Changes object (rope.base.change.ChangeSet)

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

RefactoringDialogBase.applyChanges

applyChanges(changes = None)

Public method to apply the changes.

reference
to the Changes object (rope.base.change.ChangeSet)

RefactoringDialogBase.previewChanges

previewChanges()

Public method to preview the changes.

Up