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.MoveDialog</h1> |
9 <h1>Plugin_Refactoring_Rope.RefactoringRope.MoveDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the Move Method or Module dialog. |
11 Module implementing the Move Method or Module 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="#MoveDialog">MoveDialog</a></td> |
22 <td><a href="#MoveDialog">MoveDialog</a></td> |
25 <td>Class implementing the Move Method or Module dialog.</td> |
23 <td>Class implementing the Move Method or Module 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="MoveDialog" ID="MoveDialog"></a> |
34 <a NAME="MoveDialog" ID="MoveDialog"></a> |
36 <h2>MoveDialog</h2> |
35 <h2>MoveDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing the Move Method or Module dialog. |
37 Class implementing the Move Method or Module dialog. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 RefactoringDialogBase, Ui_MoveDialog |
41 RefactoringDialogBase, Ui_MoveDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
43 <table> |
45 <table> |
44 <tr><td>None</td></tr> |
46 <tr><td>None</td></tr> |
45 </table> |
47 </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="#MoveDialog.__init__">MoveDialog</a></td> |
55 <td><a href="#MoveDialog.__init__">MoveDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
97 <tr> |
94 <tr> |
98 <td><a href="#MoveDialog.processChangeData">processChangeData</a></td> |
95 <td><a href="#MoveDialog.processChangeData">processChangeData</a></td> |
99 <td>Public method to process the change data sent by the refactoring client.</td> |
96 <td>Public method to process the change data sent by the refactoring client.</td> |
100 </tr> |
97 </tr> |
101 </table> |
98 </table> |
|
99 |
102 <h3>Static Methods</h3> |
100 <h3>Static Methods</h3> |
103 |
101 <table> |
104 <table> |
102 <tr><td>None</td></tr> |
105 <tr><td>None</td></tr> |
103 </table> |
106 </table> |
104 |
107 |
105 |
108 <a NAME="MoveDialog.__init__" ID="MoveDialog.__init__"></a> |
106 <a NAME="MoveDialog.__init__" ID="MoveDialog.__init__"></a> |
109 <h4>MoveDialog (Constructor)</h4> |
107 <h4>MoveDialog (Constructor)</h4> |
110 <b>MoveDialog</b>(<i>refactoring, title, filename, offset, parent=None</i>) |
108 <b>MoveDialog</b>(<i>refactoring, title, filename, offset, parent=None</i>) |
111 |
|
112 <p> |
109 <p> |
113 Constructor |
110 Constructor |
114 </p> |
111 </p> |
|
112 |
115 <dl> |
113 <dl> |
116 |
114 |
117 <dt><i>refactoring</i> (RefactoringServer)</dt> |
115 <dt><i>refactoring</i> (RefactoringServer)</dt> |
118 <dd> |
116 <dd> |
119 reference to the main refactoring object |
117 reference to the main refactoring object |
155 </dd> |
153 </dd> |
156 </dl> |
154 </dl> |
157 <a NAME="MoveDialog.__processMoveType" ID="MoveDialog.__processMoveType"></a> |
155 <a NAME="MoveDialog.__processMoveType" ID="MoveDialog.__processMoveType"></a> |
158 <h4>MoveDialog.__processMoveType</h4> |
156 <h4>MoveDialog.__processMoveType</h4> |
159 <b>__processMoveType</b>(<i>data</i>) |
157 <b>__processMoveType</b>(<i>data</i>) |
160 |
|
161 <p> |
158 <p> |
162 Private method to process the move type data sent by the refactoring |
159 Private method to process the move type data sent by the refactoring |
163 client in order to polish the dialog. |
160 client in order to polish the dialog. |
164 </p> |
161 </p> |
|
162 |
165 <dl> |
163 <dl> |
166 |
164 |
167 <dt><i>data</i> (dict)</dt> |
165 <dt><i>data</i> (dict)</dt> |
168 <dd> |
166 <dd> |
169 dictionary containing the move type data |
167 dictionary containing the move type data |
170 </dd> |
168 </dd> |
171 </dl> |
169 </dl> |
172 <a NAME="MoveDialog.__updateUI" ID="MoveDialog.__updateUI"></a> |
170 <a NAME="MoveDialog.__updateUI" ID="MoveDialog.__updateUI"></a> |
173 <h4>MoveDialog.__updateUI</h4> |
171 <h4>MoveDialog.__updateUI</h4> |
174 <b>__updateUI</b>(<i></i>) |
172 <b>__updateUI</b>(<i></i>) |
175 |
|
176 <p> |
173 <p> |
177 Private method to perform various UI updates. |
174 Private method to perform various UI updates. |
178 </p> |
175 </p> |
|
176 |
179 <a NAME="MoveDialog._calculateChanges" ID="MoveDialog._calculateChanges"></a> |
177 <a NAME="MoveDialog._calculateChanges" ID="MoveDialog._calculateChanges"></a> |
180 <h4>MoveDialog._calculateChanges</h4> |
178 <h4>MoveDialog._calculateChanges</h4> |
181 <b>_calculateChanges</b>(<i></i>) |
179 <b>_calculateChanges</b>(<i></i>) |
182 |
|
183 <p> |
180 <p> |
184 Protected method to initiate the calculation of the changes. |
181 Protected method to initiate the calculation of the changes. |
185 </p> |
182 </p> |
|
183 |
186 <a NAME="MoveDialog.on_attributeEdit_textChanged" ID="MoveDialog.on_attributeEdit_textChanged"></a> |
184 <a NAME="MoveDialog.on_attributeEdit_textChanged" ID="MoveDialog.on_attributeEdit_textChanged"></a> |
187 <h4>MoveDialog.on_attributeEdit_textChanged</h4> |
185 <h4>MoveDialog.on_attributeEdit_textChanged</h4> |
188 <b>on_attributeEdit_textChanged</b>(<i>text</i>) |
186 <b>on_attributeEdit_textChanged</b>(<i>text</i>) |
189 |
|
190 <p> |
187 <p> |
191 Private slot to react to changes of the attribute. |
188 Private slot to react to changes of the attribute. |
192 </p> |
189 </p> |
|
190 |
193 <dl> |
191 <dl> |
194 |
192 |
195 <dt><i>text</i> (str)</dt> |
193 <dt><i>text</i> (str)</dt> |
196 <dd> |
194 <dd> |
197 text entered into the edit |
195 text entered into the edit |
198 </dd> |
196 </dd> |
199 </dl> |
197 </dl> |
200 <a NAME="MoveDialog.on_buttonBox_clicked" ID="MoveDialog.on_buttonBox_clicked"></a> |
198 <a NAME="MoveDialog.on_buttonBox_clicked" ID="MoveDialog.on_buttonBox_clicked"></a> |
201 <h4>MoveDialog.on_buttonBox_clicked</h4> |
199 <h4>MoveDialog.on_buttonBox_clicked</h4> |
202 <b>on_buttonBox_clicked</b>(<i>button</i>) |
200 <b>on_buttonBox_clicked</b>(<i>button</i>) |
203 |
|
204 <p> |
201 <p> |
205 Private slot to act on the button pressed. |
202 Private slot to act on the button pressed. |
206 </p> |
203 </p> |
|
204 |
207 <dl> |
205 <dl> |
208 |
206 |
209 <dt><i>button</i> (QAbstractButton)</dt> |
207 <dt><i>button</i> (QAbstractButton)</dt> |
210 <dd> |
208 <dd> |
211 reference to the button pressed |
209 reference to the button pressed |
212 </dd> |
210 </dd> |
213 </dl> |
211 </dl> |
214 <a NAME="MoveDialog.on_destinationEdit_textChanged" ID="MoveDialog.on_destinationEdit_textChanged"></a> |
212 <a NAME="MoveDialog.on_destinationEdit_textChanged" ID="MoveDialog.on_destinationEdit_textChanged"></a> |
215 <h4>MoveDialog.on_destinationEdit_textChanged</h4> |
213 <h4>MoveDialog.on_destinationEdit_textChanged</h4> |
216 <b>on_destinationEdit_textChanged</b>(<i>text</i>) |
214 <b>on_destinationEdit_textChanged</b>(<i>text</i>) |
217 |
|
218 <p> |
215 <p> |
219 Private slot to react to changes of the destination module. |
216 Private slot to react to changes of the destination module. |
220 </p> |
217 </p> |
|
218 |
221 <dl> |
219 <dl> |
222 |
220 |
223 <dt><i>text</i> (str)</dt> |
221 <dt><i>text</i> (str)</dt> |
224 <dd> |
222 <dd> |
225 text entered into the edit |
223 text entered into the edit |
226 </dd> |
224 </dd> |
227 </dl> |
225 </dl> |
228 <a NAME="MoveDialog.on_methodEdit_textChanged" ID="MoveDialog.on_methodEdit_textChanged"></a> |
226 <a NAME="MoveDialog.on_methodEdit_textChanged" ID="MoveDialog.on_methodEdit_textChanged"></a> |
229 <h4>MoveDialog.on_methodEdit_textChanged</h4> |
227 <h4>MoveDialog.on_methodEdit_textChanged</h4> |
230 <b>on_methodEdit_textChanged</b>(<i>text</i>) |
228 <b>on_methodEdit_textChanged</b>(<i>text</i>) |
231 |
|
232 <p> |
229 <p> |
233 Private slot to react to changes of the method. |
230 Private slot to react to changes of the method. |
234 </p> |
231 </p> |
|
232 |
235 <dl> |
233 <dl> |
236 |
234 |
237 <dt><i>text</i> (str)</dt> |
235 <dt><i>text</i> (str)</dt> |
238 <dd> |
236 <dd> |
239 text entered into the edit |
237 text entered into the edit |
240 </dd> |
238 </dd> |
241 </dl> |
239 </dl> |
242 <a NAME="MoveDialog.on_selectButton_clicked" ID="MoveDialog.on_selectButton_clicked"></a> |
240 <a NAME="MoveDialog.on_selectButton_clicked" ID="MoveDialog.on_selectButton_clicked"></a> |
243 <h4>MoveDialog.on_selectButton_clicked</h4> |
241 <h4>MoveDialog.on_selectButton_clicked</h4> |
244 <b>on_selectButton_clicked</b>(<i></i>) |
242 <b>on_selectButton_clicked</b>(<i></i>) |
245 |
|
246 <p> |
243 <p> |
247 Private slot called to select the destination module via a file |
244 Private slot called to select the destination module via a file |
248 selection dialog. |
245 selection dialog. |
249 </p> |
246 </p> |
|
247 |
250 <a NAME="MoveDialog.processChangeData" ID="MoveDialog.processChangeData"></a> |
248 <a NAME="MoveDialog.processChangeData" ID="MoveDialog.processChangeData"></a> |
251 <h4>MoveDialog.processChangeData</h4> |
249 <h4>MoveDialog.processChangeData</h4> |
252 <b>processChangeData</b>(<i>data</i>) |
250 <b>processChangeData</b>(<i>data</i>) |
253 |
|
254 <p> |
251 <p> |
255 Public method to process the change data sent by the refactoring |
252 Public method to process the change data sent by the refactoring |
256 client. |
253 client. |
257 </p> |
254 </p> |
|
255 |
258 <dl> |
256 <dl> |
259 |
257 |
260 <dt><i>data</i> (dict)</dt> |
258 <dt><i>data</i> (dict)</dt> |
261 <dd> |
259 <dd> |
262 dictionary containing the change data |
260 dictionary containing the change data |