RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.ConfirmationDialog.html

branch
server_client_variant
changeset 204
b4bf79b956bc
parent 44
8aa985c8dee5
child 321
d51e810107ec
--- a/RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.ConfirmationDialog.html	Fri Sep 29 10:23:35 2017 +0200
+++ b/RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.ConfirmationDialog.html	Fri Sep 29 10:32:30 2017 +0200
@@ -45,7 +45,7 @@
     Class implementing the Confirmation dialog.
 </p>
 <h3>Derived from</h3>
-QDialog, Ui_ConfirmationDialog
+RefactoringDialogBase, Ui_ConfirmationDialog
 <h3>Class Attributes</h3>
 <table>
 <tr><td>None</td></tr>
@@ -60,11 +60,17 @@
 <td><a href="#ConfirmationDialog.__init__">ConfirmationDialog</a></td>
 <td>Constructor</td>
 </tr><tr>
-<td><a href="#ConfirmationDialog.__previewChanges">__previewChanges</a></td>
-<td>Private method to preview the changes.</td>
+<td><a href="#ConfirmationDialog.__processChangeDescription">__processChangeDescription</a></td>
+<td>Private method to process the change description data sent by the refactoring client in order to polish the dialog.</td>
+</tr><tr>
+<td><a href="#ConfirmationDialog._calculateChanges">_calculateChanges</a></td>
+<td>Protected method to initiate the calculation of the changes.</td>
 </tr><tr>
 <td><a href="#ConfirmationDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
 <td>Private slot to act on the button pressed.</td>
+</tr><tr>
+<td><a href="#ConfirmationDialog.processChangeData">processChangeData</a></td>
+<td>Public method to process the change data sent by the refactoring client.</td>
 </tr>
 </table>
 <h3>Static Methods</h3>
@@ -73,32 +79,65 @@
 </table>
 <a NAME="ConfirmationDialog.__init__" ID="ConfirmationDialog.__init__"></a>
 <h4>ConfirmationDialog (Constructor)</h4>
-<b>ConfirmationDialog</b>(<i>changes, parent=None</i>)
+<b>ConfirmationDialog</b>(<i>refactoring, title, changeGroupName, method, parameters, parent=None</i>)
 <p>
         Constructor
 </p><dl>
-<dt><i>changes</i></dt>
+<dt><i>refactoring</i> (RefactoringServer)</dt>
+<dd>
+reference to the main refactoring object
+</dd><dt><i>title</i> (str)</dt>
+<dd>
+title of the dialog
+</dd><dt><i>changeGroupName</i> (str)</dt>
 <dd>
-reference to the Changes object
-            (rope.base.change.ChangeSet)
-</dd><dt><i>parent</i></dt>
+name of the change group
+</dd><dt><i>method</i> (str)</dt>
+<dd>
+method to produce the refactoring changes
+</dd><dt><i>parameters</i> (dict)</dt>
+<dd>
+dictionary containing the method parameters
+</dd><dt><i>parent</i> (QWidget)</dt>
 <dd>
-reference to the parent widget (QWidget)
+reference to the parent widget
 </dd>
-</dl><a NAME="ConfirmationDialog.__previewChanges" ID="ConfirmationDialog.__previewChanges"></a>
-<h4>ConfirmationDialog.__previewChanges</h4>
-<b>__previewChanges</b>(<i></i>)
+</dl><a NAME="ConfirmationDialog.__processChangeDescription" ID="ConfirmationDialog.__processChangeDescription"></a>
+<h4>ConfirmationDialog.__processChangeDescription</h4>
+<b>__processChangeDescription</b>(<i>data</i>)
 <p>
-        Private method to preview the changes.
+        Private method to process the change description data sent by the
+        refactoring client in order to polish the dialog.
+</p><dl>
+<dt><i>data</i> (dict)</dt>
+<dd>
+dictionary containing the data
+</dd>
+</dl><a NAME="ConfirmationDialog._calculateChanges" ID="ConfirmationDialog._calculateChanges"></a>
+<h4>ConfirmationDialog._calculateChanges</h4>
+<b>_calculateChanges</b>(<i></i>)
+<p>
+        Protected method to initiate the calculation of the changes.
 </p><a NAME="ConfirmationDialog.on_buttonBox_clicked" ID="ConfirmationDialog.on_buttonBox_clicked"></a>
 <h4>ConfirmationDialog.on_buttonBox_clicked</h4>
 <b>on_buttonBox_clicked</b>(<i>button</i>)
 <p>
         Private slot to act on the button pressed.
 </p><dl>
-<dt><i>button</i></dt>
+<dt><i>button</i> (QAbstractButton)</dt>
 <dd>
-reference to the button pressed (QAbstractButton)
+reference to the button pressed
+</dd>
+</dl><a NAME="ConfirmationDialog.processChangeData" ID="ConfirmationDialog.processChangeData"></a>
+<h4>ConfirmationDialog.processChangeData</h4>
+<b>processChangeData</b>(<i>data</i>)
+<p>
+        Public method to process the change data sent by the refactoring
+        client.
+</p><dl>
+<dt><i>data</i> (dict)</dt>
+<dd>
+dictionary containing the change data
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial