RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.InlineDialog.html

branch
server_client_variant
changeset 204
b4bf79b956bc
parent 44
8aa985c8dee5
child 321
d51e810107ec
equal deleted inserted replaced
203:c38750e1bafd 204:b4bf79b956bc
58 <table> 58 <table>
59 <tr> 59 <tr>
60 <td><a href="#InlineDialog.__init__">InlineDialog</a></td> 60 <td><a href="#InlineDialog.__init__">InlineDialog</a></td>
61 <td>Constructor</td> 61 <td>Constructor</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#InlineDialog.__processInlineType">__processInlineType</a></td>
64 <td>Private method to process the inline type data sent by the refactoring client in order to polish the dialog.</td>
65 </tr><tr>
63 <td><a href="#InlineDialog._calculateChanges">_calculateChanges</a></td> 66 <td><a href="#InlineDialog._calculateChanges">_calculateChanges</a></td>
64 <td>Protected method to calculate the changes.</td> 67 <td>Protected method to initiate the calculation of the changes.</td>
65 </tr><tr> 68 </tr><tr>
66 <td><a href="#InlineDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> 69 <td><a href="#InlineDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
67 <td>Private slot to act on the button pressed.</td> 70 <td>Private slot to act on the button pressed.</td>
71 </tr><tr>
72 <td><a href="#InlineDialog.processChangeData">processChangeData</a></td>
73 <td>Public method to process the change data sent by the refactoring client.</td>
68 </tr> 74 </tr>
69 </table> 75 </table>
70 <h3>Static Methods</h3> 76 <h3>Static Methods</h3>
71 <table> 77 <table>
72 <tr><td>None</td></tr> 78 <tr><td>None</td></tr>
73 </table> 79 </table>
74 <a NAME="InlineDialog.__init__" ID="InlineDialog.__init__"></a> 80 <a NAME="InlineDialog.__init__" ID="InlineDialog.__init__"></a>
75 <h4>InlineDialog (Constructor)</h4> 81 <h4>InlineDialog (Constructor)</h4>
76 <b>InlineDialog</b>(<i>refactoring, title, inliner, parent=None</i>) 82 <b>InlineDialog</b>(<i>refactoring, title, filename, offset, parent=None</i>)
77 <p> 83 <p>
78 Constructor 84 Constructor
79 </p><dl> 85 </p><dl>
80 <dt><i>refactoring</i></dt> 86 <dt><i>refactoring</i> (RefactoringServer)</dt>
81 <dd> 87 <dd>
82 reference to the main refactoring object 88 reference to the main refactoring object
83 (Refactoring) 89 </dd><dt><i>title</i> (str)</dt>
84 </dd><dt><i>title</i></dt>
85 <dd> 90 <dd>
86 title of the dialog (string) 91 title of the dialog
87 </dd><dt><i>inliner</i></dt> 92 </dd><dt><i>filename</i> (str)</dt>
88 <dd> 93 <dd>
89 reference to the inliner object 94 file name to be worked on
90 (rope.refactor.inline.InlineMethod, 95 </dd><dt><i>offset</i> (int or None)</dt>
91 rope.refactor.inline.InlineVariable
92 or rope.refactor.inline.InlineParameter)
93 </dd><dt><i>parent</i></dt>
94 <dd> 96 <dd>
95 reference to the parent widget (QWidget) 97 offset within file
98 </dd><dt><i>parent</i> (QWidget)</dt>
99 <dd>
100 reference to the parent widget
101 </dd>
102 </dl><a NAME="InlineDialog.__processInlineType" ID="InlineDialog.__processInlineType"></a>
103 <h4>InlineDialog.__processInlineType</h4>
104 <b>__processInlineType</b>(<i>data</i>)
105 <p>
106 Private method to process the inline type data sent by the refactoring
107 client in order to polish the dialog.
108 </p><dl>
109 <dt><i>data</i> (dict)</dt>
110 <dd>
111 dictionary containing the inline type data
96 </dd> 112 </dd>
97 </dl><a NAME="InlineDialog._calculateChanges" ID="InlineDialog._calculateChanges"></a> 113 </dl><a NAME="InlineDialog._calculateChanges" ID="InlineDialog._calculateChanges"></a>
98 <h4>InlineDialog._calculateChanges</h4> 114 <h4>InlineDialog._calculateChanges</h4>
99 <b>_calculateChanges</b>(<i>handle</i>) 115 <b>_calculateChanges</b>(<i></i>)
100 <p> 116 <p>
101 Protected method to calculate the changes. 117 Protected method to initiate the calculation of the changes.
102 </p><dl> 118 </p><a NAME="InlineDialog.on_buttonBox_clicked" ID="InlineDialog.on_buttonBox_clicked"></a>
103 <dt><i>handle</i></dt>
104 <dd>
105 reference to the task handle
106 (rope.base.taskhandle.TaskHandle)
107 </dd>
108 </dl><dl>
109 <dt>Returns:</dt>
110 <dd>
111 reference to the Changes object (rope.base.change.ChangeSet)
112 </dd>
113 </dl><a NAME="InlineDialog.on_buttonBox_clicked" ID="InlineDialog.on_buttonBox_clicked"></a>
114 <h4>InlineDialog.on_buttonBox_clicked</h4> 119 <h4>InlineDialog.on_buttonBox_clicked</h4>
115 <b>on_buttonBox_clicked</b>(<i>button</i>) 120 <b>on_buttonBox_clicked</b>(<i>button</i>)
116 <p> 121 <p>
117 Private slot to act on the button pressed. 122 Private slot to act on the button pressed.
118 </p><dl> 123 </p><dl>
119 <dt><i>button</i></dt> 124 <dt><i>button</i> (QAbstractButton)</dt>
120 <dd> 125 <dd>
121 reference to the button pressed (QAbstractButton) 126 reference to the button pressed
127 </dd>
128 </dl><a NAME="InlineDialog.processChangeData" ID="InlineDialog.processChangeData"></a>
129 <h4>InlineDialog.processChangeData</h4>
130 <b>processChangeData</b>(<i>data</i>)
131 <p>
132 Public method to process the change data sent by the refactoring
133 client.
134 </p><dl>
135 <dt><i>data</i> (dict)</dt>
136 <dd>
137 dictionary containing the change data
122 </dd> 138 </dd>
123 </dl> 139 </dl>
124 <div align="right"><a href="#top">Up</a></div> 140 <div align="right"><a href="#top">Up</a></div>
125 <hr /> 141 <hr />
126 </body></html> 142 </body></html>

eric ide

mercurial