5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>Plugin_Refactoring_Rope.RefactoringRope.InlineArgumentDefaultDialog</h1> |
9 <h1>Plugin_Refactoring_Rope.RefactoringRope.InlineArgumentDefaultDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the Inline Argument Default dialog. |
11 Module implementing the Inline Argument Default dialog. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
15 <table> |
16 <table> |
16 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
17 </table> |
18 </table> |
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 <table> |
21 <table> |
|
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#InlineArgumentDefaultDialog">InlineArgumentDefaultDialog</a></td> |
22 <td><a href="#InlineArgumentDefaultDialog">InlineArgumentDefaultDialog</a></td> |
25 <td>Class implementing the Inline Argument Default dialog.</td> |
23 <td>Class implementing the Inline Argument Default dialog.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
28 <table> |
30 <table> |
29 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
30 </table> |
32 </table> |
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="InlineArgumentDefaultDialog" ID="InlineArgumentDefaultDialog"></a> |
34 <a NAME="InlineArgumentDefaultDialog" ID="InlineArgumentDefaultDialog"></a> |
36 <h2>InlineArgumentDefaultDialog</h2> |
35 <h2>InlineArgumentDefaultDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing the Inline Argument Default dialog. |
37 Class implementing the Inline Argument Default dialog. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 RefactoringDialogBase, Ui_InlineArgumentDefaultDialog |
41 RefactoringDialogBase, Ui_InlineArgumentDefaultDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
|
45 <table> |
43 <table> |
46 <tr><td>NameRole</td></tr> |
44 <tr><td>NameRole</td></tr> |
47 </table> |
45 </table> |
|
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
48 <table> |
50 <table> |
49 <tr><td>None</td></tr> |
51 <tr><td>None</td></tr> |
50 </table> |
52 </table> |
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
53 <table> |
55 <table> |
|
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#InlineArgumentDefaultDialog.__init__">InlineArgumentDefaultDialog</a></td> |
55 <td><a href="#InlineArgumentDefaultDialog.__init__">InlineArgumentDefaultDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
81 <tr> |
78 <tr> |
82 <td><a href="#InlineArgumentDefaultDialog.processChangeData">processChangeData</a></td> |
79 <td><a href="#InlineArgumentDefaultDialog.processChangeData">processChangeData</a></td> |
83 <td>Public method to process the change data sent by the refactoring client.</td> |
80 <td>Public method to process the change data sent by the refactoring client.</td> |
84 </tr> |
81 </tr> |
85 </table> |
82 </table> |
|
83 |
86 <h3>Static Methods</h3> |
84 <h3>Static Methods</h3> |
87 |
85 <table> |
88 <table> |
86 <tr><td>None</td></tr> |
89 <tr><td>None</td></tr> |
87 </table> |
90 </table> |
88 |
91 |
89 |
92 <a NAME="InlineArgumentDefaultDialog.__init__" ID="InlineArgumentDefaultDialog.__init__"></a> |
90 <a NAME="InlineArgumentDefaultDialog.__init__" ID="InlineArgumentDefaultDialog.__init__"></a> |
93 <h4>InlineArgumentDefaultDialog (Constructor)</h4> |
91 <h4>InlineArgumentDefaultDialog (Constructor)</h4> |
94 <b>InlineArgumentDefaultDialog</b>(<i>refactoring, title, filename, offset, parent=None</i>) |
92 <b>InlineArgumentDefaultDialog</b>(<i>refactoring, title, filename, offset, parent=None</i>) |
95 |
|
96 <p> |
93 <p> |
97 Constructor |
94 Constructor |
98 </p> |
95 </p> |
|
96 |
99 <dl> |
97 <dl> |
100 |
98 |
101 <dt><i>refactoring</i> (RefactoringServer)</dt> |
99 <dt><i>refactoring</i> (RefactoringServer)</dt> |
102 <dd> |
100 <dd> |
103 reference to the main refactoring object |
101 reference to the main refactoring object |
120 </dd> |
118 </dd> |
121 </dl> |
119 </dl> |
122 <a NAME="InlineArgumentDefaultDialog.__getParameterIndex" ID="InlineArgumentDefaultDialog.__getParameterIndex"></a> |
120 <a NAME="InlineArgumentDefaultDialog.__getParameterIndex" ID="InlineArgumentDefaultDialog.__getParameterIndex"></a> |
123 <h4>InlineArgumentDefaultDialog.__getParameterIndex</h4> |
121 <h4>InlineArgumentDefaultDialog.__getParameterIndex</h4> |
124 <b>__getParameterIndex</b>(<i>definition_info, name</i>) |
122 <b>__getParameterIndex</b>(<i>definition_info, name</i>) |
125 |
|
126 <p> |
123 <p> |
127 Private method to calculate the index of the given paramter. |
124 Private method to calculate the index of the given paramter. |
128 </p> |
125 </p> |
|
126 |
129 <dl> |
127 <dl> |
130 |
128 |
131 <dt><i>definition_info</i> (list of lists of two str)</dt> |
129 <dt><i>definition_info</i> (list of lists of two str)</dt> |
132 <dd> |
130 <dd> |
133 list of lists containing the method signature |
131 list of lists containing the method signature |
151 </dd> |
149 </dd> |
152 </dl> |
150 </dl> |
153 <a NAME="InlineArgumentDefaultDialog.__processSignature" ID="InlineArgumentDefaultDialog.__processSignature"></a> |
151 <a NAME="InlineArgumentDefaultDialog.__processSignature" ID="InlineArgumentDefaultDialog.__processSignature"></a> |
154 <h4>InlineArgumentDefaultDialog.__processSignature</h4> |
152 <h4>InlineArgumentDefaultDialog.__processSignature</h4> |
155 <b>__processSignature</b>(<i>data</i>) |
153 <b>__processSignature</b>(<i>data</i>) |
156 |
|
157 <p> |
154 <p> |
158 Private method to process the inline type data sent by the refactoring |
155 Private method to process the inline type data sent by the refactoring |
159 client in order to polish the dialog. |
156 client in order to polish the dialog. |
160 </p> |
157 </p> |
|
158 |
161 <dl> |
159 <dl> |
162 |
160 |
163 <dt><i>data</i> (dict)</dt> |
161 <dt><i>data</i> (dict)</dt> |
164 <dd> |
162 <dd> |
165 dictionary containing the inline type data |
163 dictionary containing the inline type data |
166 </dd> |
164 </dd> |
167 </dl> |
165 </dl> |
168 <a NAME="InlineArgumentDefaultDialog._calculateChanges" ID="InlineArgumentDefaultDialog._calculateChanges"></a> |
166 <a NAME="InlineArgumentDefaultDialog._calculateChanges" ID="InlineArgumentDefaultDialog._calculateChanges"></a> |
169 <h4>InlineArgumentDefaultDialog._calculateChanges</h4> |
167 <h4>InlineArgumentDefaultDialog._calculateChanges</h4> |
170 <b>_calculateChanges</b>(<i></i>) |
168 <b>_calculateChanges</b>(<i></i>) |
171 |
|
172 <p> |
169 <p> |
173 Protected method to initiate the calculation of the changes. |
170 Protected method to initiate the calculation of the changes. |
174 </p> |
171 </p> |
|
172 |
175 <a NAME="InlineArgumentDefaultDialog.on_buttonBox_clicked" ID="InlineArgumentDefaultDialog.on_buttonBox_clicked"></a> |
173 <a NAME="InlineArgumentDefaultDialog.on_buttonBox_clicked" ID="InlineArgumentDefaultDialog.on_buttonBox_clicked"></a> |
176 <h4>InlineArgumentDefaultDialog.on_buttonBox_clicked</h4> |
174 <h4>InlineArgumentDefaultDialog.on_buttonBox_clicked</h4> |
177 <b>on_buttonBox_clicked</b>(<i>button</i>) |
175 <b>on_buttonBox_clicked</b>(<i>button</i>) |
178 |
|
179 <p> |
176 <p> |
180 Private slot to act on the button pressed. |
177 Private slot to act on the button pressed. |
181 </p> |
178 </p> |
|
179 |
182 <dl> |
180 <dl> |
183 |
181 |
184 <dt><i>button</i> (QAbstractButton)</dt> |
182 <dt><i>button</i> (QAbstractButton)</dt> |
185 <dd> |
183 <dd> |
186 reference to the button pressed |
184 reference to the button pressed |
187 </dd> |
185 </dd> |
188 </dl> |
186 </dl> |
189 <a NAME="InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged" ID="InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged"></a> |
187 <a NAME="InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged" ID="InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged"></a> |
190 <h4>InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged</h4> |
188 <h4>InlineArgumentDefaultDialog.on_parameterList_itemSelectionChanged</h4> |
191 <b>on_parameterList_itemSelectionChanged</b>(<i></i>) |
189 <b>on_parameterList_itemSelectionChanged</b>(<i></i>) |
192 |
|
193 <p> |
190 <p> |
194 Private slot called, when the selection changes. |
191 Private slot called, when the selection changes. |
195 </p> |
192 </p> |
|
193 |
196 <a NAME="InlineArgumentDefaultDialog.processChangeData" ID="InlineArgumentDefaultDialog.processChangeData"></a> |
194 <a NAME="InlineArgumentDefaultDialog.processChangeData" ID="InlineArgumentDefaultDialog.processChangeData"></a> |
197 <h4>InlineArgumentDefaultDialog.processChangeData</h4> |
195 <h4>InlineArgumentDefaultDialog.processChangeData</h4> |
198 <b>processChangeData</b>(<i>data</i>) |
196 <b>processChangeData</b>(<i>data</i>) |
199 |
|
200 <p> |
197 <p> |
201 Public method to process the change data sent by the refactoring |
198 Public method to process the change data sent by the refactoring |
202 client. |
199 client. |
203 </p> |
200 </p> |
|
201 |
204 <dl> |
202 <dl> |
205 |
203 |
206 <dt><i>data</i> (dict)</dt> |
204 <dt><i>data</i> (dict)</dt> |
207 <dd> |
205 <dd> |
208 dictionary containing the change data |
206 dictionary containing the change data |