Plugin_Refactoring_Rope.RefactoringRope.InlineArgumentDefaultDialog
Module implementing the Inline Argument Default dialog.
Classes
Functions
InlineArgumentDefaultDialog
Class implementing the Inline Argument Default dialog.
Derived from
RefactoringDialogBase, Ui_InlineArgumentDefaultDialog
Methods
InlineArgumentDefaultDialog (Constructor)
InlineArgumentDefaultDialog(refactoring, title, changer, parent = None)
Constructor
- refactoring
-
reference to the main refactoring object (Refactoring)
- title
-
title of the dialog (string or QString)
- changer
-
reference to the signature changer object
(rope.refactor.change_signature.ChangeSignature)
- parent
-
reference to the parent widget (QWidget)
InlineArgumentDefaultDialog.__getParameterIndex
__getParameterIndex(definition_info, name)
Private method to calculate the index of the given paramter.
- definition_info
-
objetc containing the method definition
- name
-
parameter name (string)
- Returns:
-
index of the parameter (integer)
InlineArgumentDefaultDialog._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)
InlineArgumentDefaultDialog.on_buttonBox_clicked
on_buttonBox_clicked(button)
Private slot to act on the button pressed.
- button
-
reference to the button pressed (QAbstractButton)
InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged
on_parameterList_itemSelectionChanged()
Private slot called, when the selection changes.