169 <tr> |
177 <tr> |
170 <td><a href="#RefactoringRopePlugin.setPreferences">setPreferences</a></td> |
178 <td><a href="#RefactoringRopePlugin.setPreferences">setPreferences</a></td> |
171 <td>Public method to store the various refactoring settings.</td> |
179 <td>Public method to store the various refactoring settings.</td> |
172 </tr> |
180 </tr> |
173 </table> |
181 </table> |
|
182 |
174 <h3>Static Methods</h3> |
183 <h3>Static Methods</h3> |
175 |
|
176 <table> |
184 <table> |
177 <tr><td>None</td></tr> |
185 <tr><td>None</td></tr> |
178 </table> |
186 </table> |
179 |
187 |
|
188 |
180 <a NAME="RefactoringRopePlugin.__init__" ID="RefactoringRopePlugin.__init__"></a> |
189 <a NAME="RefactoringRopePlugin.__init__" ID="RefactoringRopePlugin.__init__"></a> |
181 <h4>RefactoringRopePlugin (Constructor)</h4> |
190 <h4>RefactoringRopePlugin (Constructor)</h4> |
182 <b>RefactoringRopePlugin</b>(<i>ui</i>) |
191 <b>RefactoringRopePlugin</b>(<i>ui</i>) |
183 |
|
184 <p> |
192 <p> |
185 Constructor |
193 Constructor |
186 </p> |
194 </p> |
|
195 |
187 <dl> |
196 <dl> |
188 |
197 |
189 <dt><i>ui</i> (UserInterface)</dt> |
198 <dt><i>ui</i> (UserInterface)</dt> |
190 <dd> |
199 <dd> |
191 reference to the user interface object |
200 reference to the user interface object |
192 </dd> |
201 </dd> |
193 </dl> |
202 </dl> |
194 <a NAME="RefactoringRopePlugin.__connectEditor" ID="RefactoringRopePlugin.__connectEditor"></a> |
203 <a NAME="RefactoringRopePlugin.__connectEditor" ID="RefactoringRopePlugin.__connectEditor"></a> |
195 <h4>RefactoringRopePlugin.__connectEditor</h4> |
204 <h4>RefactoringRopePlugin.__connectEditor</h4> |
196 <b>__connectEditor</b>(<i>editor</i>) |
205 <b>__connectEditor</b>(<i>editor</i>) |
197 |
|
198 <p> |
206 <p> |
199 Private method to connect an editor. |
207 Private method to connect an editor. |
200 </p> |
208 </p> |
|
209 |
201 <dl> |
210 <dl> |
202 |
211 |
203 <dt><i>editor</i> (Editor)</dt> |
212 <dt><i>editor</i> (Editor)</dt> |
204 <dd> |
213 <dd> |
205 reference to the editor |
214 reference to the editor |
206 </dd> |
215 </dd> |
207 </dl> |
216 </dl> |
208 <a NAME="RefactoringRopePlugin.__connectMouseClickHandler" ID="RefactoringRopePlugin.__connectMouseClickHandler"></a> |
217 <a NAME="RefactoringRopePlugin.__connectMouseClickHandler" ID="RefactoringRopePlugin.__connectMouseClickHandler"></a> |
209 <h4>RefactoringRopePlugin.__connectMouseClickHandler</h4> |
218 <h4>RefactoringRopePlugin.__connectMouseClickHandler</h4> |
210 <b>__connectMouseClickHandler</b>(<i>editor</i>) |
219 <b>__connectMouseClickHandler</b>(<i>editor</i>) |
211 |
|
212 <p> |
220 <p> |
213 Private method to connect the mouse click handler to an editor. |
221 Private method to connect the mouse click handler to an editor. |
214 </p> |
222 </p> |
|
223 |
215 <dl> |
224 <dl> |
216 |
225 |
217 <dt><i>editor</i> (Editor)</dt> |
226 <dt><i>editor</i> (Editor)</dt> |
218 <dd> |
227 <dd> |
219 reference to the editor |
228 reference to the editor |
220 </dd> |
229 </dd> |
221 </dl> |
230 </dl> |
222 <a NAME="RefactoringRopePlugin.__determineLanguage" ID="RefactoringRopePlugin.__determineLanguage"></a> |
231 <a NAME="RefactoringRopePlugin.__determineLanguage" ID="RefactoringRopePlugin.__determineLanguage"></a> |
223 <h4>RefactoringRopePlugin.__determineLanguage</h4> |
232 <h4>RefactoringRopePlugin.__determineLanguage</h4> |
224 <b>__determineLanguage</b>(<i></i>) |
233 <b>__determineLanguage</b>(<i></i>) |
225 |
|
226 <p> |
234 <p> |
227 Private method to determine the valid language strings. |
235 Private method to determine the valid language strings. |
228 </p> |
236 </p> |
|
237 |
229 <dl> |
238 <dl> |
230 <dt>Return:</dt> |
239 <dt>Return:</dt> |
231 <dd> |
240 <dd> |
232 list of valid language strings |
241 list of valid language strings |
233 </dd> |
242 </dd> |
239 </dd> |
248 </dd> |
240 </dl> |
249 </dl> |
241 <a NAME="RefactoringRopePlugin.__disconnectEditor" ID="RefactoringRopePlugin.__disconnectEditor"></a> |
250 <a NAME="RefactoringRopePlugin.__disconnectEditor" ID="RefactoringRopePlugin.__disconnectEditor"></a> |
242 <h4>RefactoringRopePlugin.__disconnectEditor</h4> |
251 <h4>RefactoringRopePlugin.__disconnectEditor</h4> |
243 <b>__disconnectEditor</b>(<i>editor</i>) |
252 <b>__disconnectEditor</b>(<i>editor</i>) |
244 |
|
245 <p> |
253 <p> |
246 Private method to disconnect an editor. |
254 Private method to disconnect an editor. |
247 </p> |
255 </p> |
|
256 |
248 <dl> |
257 <dl> |
249 |
258 |
250 <dt><i>editor</i> (Editor)</dt> |
259 <dt><i>editor</i> (Editor)</dt> |
251 <dd> |
260 <dd> |
252 reference to the editor |
261 reference to the editor |
253 </dd> |
262 </dd> |
254 </dl> |
263 </dl> |
255 <a NAME="RefactoringRopePlugin.__disconnectMouseClickHandler" ID="RefactoringRopePlugin.__disconnectMouseClickHandler"></a> |
264 <a NAME="RefactoringRopePlugin.__disconnectMouseClickHandler" ID="RefactoringRopePlugin.__disconnectMouseClickHandler"></a> |
256 <h4>RefactoringRopePlugin.__disconnectMouseClickHandler</h4> |
265 <h4>RefactoringRopePlugin.__disconnectMouseClickHandler</h4> |
257 <b>__disconnectMouseClickHandler</b>(<i>editor</i>) |
266 <b>__disconnectMouseClickHandler</b>(<i>editor</i>) |
258 |
|
259 <p> |
267 <p> |
260 Private method to disconnect the mouse click handler from an editor. |
268 Private method to disconnect the mouse click handler from an editor. |
261 </p> |
269 </p> |
|
270 |
262 <dl> |
271 <dl> |
263 |
272 |
264 <dt><i>editor</i> (Editor)</dt> |
273 <dt><i>editor</i> (Editor)</dt> |
265 <dd> |
274 <dd> |
266 reference to the editor |
275 reference to the editor |
267 </dd> |
276 </dd> |
268 </dl> |
277 </dl> |
269 <a NAME="RefactoringRopePlugin.__editorAboutToBeSaved" ID="RefactoringRopePlugin.__editorAboutToBeSaved"></a> |
278 <a NAME="RefactoringRopePlugin.__editorAboutToBeSaved" ID="RefactoringRopePlugin.__editorAboutToBeSaved"></a> |
270 <h4>RefactoringRopePlugin.__editorAboutToBeSaved</h4> |
279 <h4>RefactoringRopePlugin.__editorAboutToBeSaved</h4> |
271 <b>__editorAboutToBeSaved</b>(<i>filename</i>) |
280 <b>__editorAboutToBeSaved</b>(<i>filename</i>) |
272 |
|
273 <p> |
281 <p> |
274 Private slot to get the old contents of the named file. |
282 Private slot to get the old contents of the named file. |
275 </p> |
283 </p> |
|
284 |
276 <dl> |
285 <dl> |
277 |
286 |
278 <dt><i>filename</i> (str)</dt> |
287 <dt><i>filename</i> (str)</dt> |
279 <dd> |
288 <dd> |
280 name of the file about to be saved |
289 name of the file about to be saved |
281 </dd> |
290 </dd> |
282 </dl> |
291 </dl> |
283 <a NAME="RefactoringRopePlugin.__editorClosed" ID="RefactoringRopePlugin.__editorClosed"></a> |
292 <a NAME="RefactoringRopePlugin.__editorClosed" ID="RefactoringRopePlugin.__editorClosed"></a> |
284 <h4>RefactoringRopePlugin.__editorClosed</h4> |
293 <h4>RefactoringRopePlugin.__editorClosed</h4> |
285 <b>__editorClosed</b>(<i>editor</i>) |
294 <b>__editorClosed</b>(<i>editor</i>) |
286 |
|
287 <p> |
295 <p> |
288 Private slot called, when an editor was closed. |
296 Private slot called, when an editor was closed. |
289 </p> |
297 </p> |
|
298 |
290 <dl> |
299 <dl> |
291 |
300 |
292 <dt><i>editor</i> (Editor)</dt> |
301 <dt><i>editor</i> (Editor)</dt> |
293 <dd> |
302 <dd> |
294 reference to the editor |
303 reference to the editor |
295 </dd> |
304 </dd> |
296 </dl> |
305 </dl> |
297 <a NAME="RefactoringRopePlugin.__editorLanguageChanged" ID="RefactoringRopePlugin.__editorLanguageChanged"></a> |
306 <a NAME="RefactoringRopePlugin.__editorLanguageChanged" ID="RefactoringRopePlugin.__editorLanguageChanged"></a> |
298 <h4>RefactoringRopePlugin.__editorLanguageChanged</h4> |
307 <h4>RefactoringRopePlugin.__editorLanguageChanged</h4> |
299 <b>__editorLanguageChanged</b>(<i>language</i>) |
308 <b>__editorLanguageChanged</b>(<i>language</i>) |
300 |
|
301 <p> |
309 <p> |
302 Private slot to handle the language change of an editor. |
310 Private slot to handle the language change of an editor. |
303 </p> |
311 </p> |
|
312 |
304 <dl> |
313 <dl> |
305 |
314 |
306 <dt><i>language</i> (str)</dt> |
315 <dt><i>language</i> (str)</dt> |
307 <dd> |
316 <dd> |
308 programming language of the editor |
317 programming language of the editor |
309 </dd> |
318 </dd> |
310 </dl> |
319 </dl> |
311 <a NAME="RefactoringRopePlugin.__editorOpened" ID="RefactoringRopePlugin.__editorOpened"></a> |
320 <a NAME="RefactoringRopePlugin.__editorOpened" ID="RefactoringRopePlugin.__editorOpened"></a> |
312 <h4>RefactoringRopePlugin.__editorOpened</h4> |
321 <h4>RefactoringRopePlugin.__editorOpened</h4> |
313 <b>__editorOpened</b>(<i>editor</i>) |
322 <b>__editorOpened</b>(<i>editor</i>) |
314 |
|
315 <p> |
323 <p> |
316 Private slot called, when a new editor was opened. |
324 Private slot called, when a new editor was opened. |
317 </p> |
325 </p> |
|
326 |
318 <dl> |
327 <dl> |
319 |
328 |
320 <dt><i>editor</i> (Editor)</dt> |
329 <dt><i>editor</i> (Editor)</dt> |
321 <dd> |
330 <dd> |
322 reference to the new editor |
331 reference to the new editor |
323 </dd> |
332 </dd> |
324 </dl> |
333 </dl> |
325 <a NAME="RefactoringRopePlugin.__editorSaved" ID="RefactoringRopePlugin.__editorSaved"></a> |
334 <a NAME="RefactoringRopePlugin.__editorSaved" ID="RefactoringRopePlugin.__editorSaved"></a> |
326 <h4>RefactoringRopePlugin.__editorSaved</h4> |
335 <h4>RefactoringRopePlugin.__editorSaved</h4> |
327 <b>__editorSaved</b>(<i>filename</i>) |
336 <b>__editorSaved</b>(<i>filename</i>) |
328 |
|
329 <p> |
337 <p> |
330 Private slot to activate SOA. |
338 Private slot to activate SOA. |
331 </p> |
339 </p> |
|
340 |
332 <dl> |
341 <dl> |
333 |
342 |
334 <dt><i>filename</i> (str)</dt> |
343 <dt><i>filename</i> (str)</dt> |
335 <dd> |
344 <dd> |
336 name of the file that was saved |
345 name of the file that was saved |
337 </dd> |
346 </dd> |
338 </dl> |
347 </dl> |
339 <a NAME="RefactoringRopePlugin.__initialize" ID="RefactoringRopePlugin.__initialize"></a> |
348 <a NAME="RefactoringRopePlugin.__initialize" ID="RefactoringRopePlugin.__initialize"></a> |
340 <h4>RefactoringRopePlugin.__initialize</h4> |
349 <h4>RefactoringRopePlugin.__initialize</h4> |
341 <b>__initialize</b>(<i></i>) |
350 <b>__initialize</b>(<i></i>) |
342 |
|
343 <p> |
351 <p> |
344 Private slot to (re)initialize the plugin. |
352 Private slot to (re)initialize the plugin. |
345 </p> |
353 </p> |
|
354 |
346 <a NAME="RefactoringRopePlugin.__loadTranslator" ID="RefactoringRopePlugin.__loadTranslator"></a> |
355 <a NAME="RefactoringRopePlugin.__loadTranslator" ID="RefactoringRopePlugin.__loadTranslator"></a> |
347 <h4>RefactoringRopePlugin.__loadTranslator</h4> |
356 <h4>RefactoringRopePlugin.__loadTranslator</h4> |
348 <b>__loadTranslator</b>(<i></i>) |
357 <b>__loadTranslator</b>(<i></i>) |
349 |
|
350 <p> |
358 <p> |
351 Private method to load the translation file. |
359 Private method to load the translation file. |
352 </p> |
360 </p> |
|
361 |
353 <a NAME="RefactoringRopePlugin.__setAutoCompletionHook" ID="RefactoringRopePlugin.__setAutoCompletionHook"></a> |
362 <a NAME="RefactoringRopePlugin.__setAutoCompletionHook" ID="RefactoringRopePlugin.__setAutoCompletionHook"></a> |
354 <h4>RefactoringRopePlugin.__setAutoCompletionHook</h4> |
363 <h4>RefactoringRopePlugin.__setAutoCompletionHook</h4> |
355 <b>__setAutoCompletionHook</b>(<i>editor</i>) |
364 <b>__setAutoCompletionHook</b>(<i>editor</i>) |
356 |
|
357 <p> |
365 <p> |
358 Private method to set the autocompletion hook. |
366 Private method to set the autocompletion hook. |
359 </p> |
367 </p> |
|
368 |
360 <dl> |
369 <dl> |
361 |
370 |
362 <dt><i>editor</i> (Editor)</dt> |
371 <dt><i>editor</i> (Editor)</dt> |
363 <dd> |
372 <dd> |
364 reference to the editor |
373 reference to the editor |
365 </dd> |
374 </dd> |
366 </dl> |
375 </dl> |
367 <a NAME="RefactoringRopePlugin.__setCalltipsHook" ID="RefactoringRopePlugin.__setCalltipsHook"></a> |
376 <a NAME="RefactoringRopePlugin.__setCalltipsHook" ID="RefactoringRopePlugin.__setCalltipsHook"></a> |
368 <h4>RefactoringRopePlugin.__setCalltipsHook</h4> |
377 <h4>RefactoringRopePlugin.__setCalltipsHook</h4> |
369 <b>__setCalltipsHook</b>(<i>editor</i>) |
378 <b>__setCalltipsHook</b>(<i>editor</i>) |
370 |
|
371 <p> |
379 <p> |
372 Private method to set the calltip hook. |
380 Private method to set the calltip hook. |
373 </p> |
381 </p> |
|
382 |
374 <dl> |
383 <dl> |
375 |
384 |
376 <dt><i>editor</i> (Editor)</dt> |
385 <dt><i>editor</i> (Editor)</dt> |
377 <dd> |
386 <dd> |
378 reference to the editor |
387 reference to the editor |
379 </dd> |
388 </dd> |
380 </dl> |
389 </dl> |
381 <a NAME="RefactoringRopePlugin.__shutdown" ID="RefactoringRopePlugin.__shutdown"></a> |
390 <a NAME="RefactoringRopePlugin.__shutdown" ID="RefactoringRopePlugin.__shutdown"></a> |
382 <h4>RefactoringRopePlugin.__shutdown</h4> |
391 <h4>RefactoringRopePlugin.__shutdown</h4> |
383 <b>__shutdown</b>(<i></i>) |
392 <b>__shutdown</b>(<i></i>) |
384 |
|
385 <p> |
393 <p> |
386 Private slot handling the shutdown signal of the plug-in manager. |
394 Private slot handling the shutdown signal of the plug-in manager. |
387 </p> |
395 </p> |
|
396 |
388 <a NAME="RefactoringRopePlugin.__unsetAutoCompletionHook" ID="RefactoringRopePlugin.__unsetAutoCompletionHook"></a> |
397 <a NAME="RefactoringRopePlugin.__unsetAutoCompletionHook" ID="RefactoringRopePlugin.__unsetAutoCompletionHook"></a> |
389 <h4>RefactoringRopePlugin.__unsetAutoCompletionHook</h4> |
398 <h4>RefactoringRopePlugin.__unsetAutoCompletionHook</h4> |
390 <b>__unsetAutoCompletionHook</b>(<i>editor</i>) |
399 <b>__unsetAutoCompletionHook</b>(<i>editor</i>) |
391 |
|
392 <p> |
400 <p> |
393 Private method to unset the autocompletion hook. |
401 Private method to unset the autocompletion hook. |
394 </p> |
402 </p> |
|
403 |
395 <dl> |
404 <dl> |
396 |
405 |
397 <dt><i>editor</i> (Editor)</dt> |
406 <dt><i>editor</i> (Editor)</dt> |
398 <dd> |
407 <dd> |
399 reference to the editor |
408 reference to the editor |
400 </dd> |
409 </dd> |
401 </dl> |
410 </dl> |
402 <a NAME="RefactoringRopePlugin.__unsetCalltipsHook" ID="RefactoringRopePlugin.__unsetCalltipsHook"></a> |
411 <a NAME="RefactoringRopePlugin.__unsetCalltipsHook" ID="RefactoringRopePlugin.__unsetCalltipsHook"></a> |
403 <h4>RefactoringRopePlugin.__unsetCalltipsHook</h4> |
412 <h4>RefactoringRopePlugin.__unsetCalltipsHook</h4> |
404 <b>__unsetCalltipsHook</b>(<i>editor</i>) |
413 <b>__unsetCalltipsHook</b>(<i>editor</i>) |
405 |
|
406 <p> |
414 <p> |
407 Private method to unset the calltip hook. |
415 Private method to unset the calltip hook. |
408 </p> |
416 </p> |
|
417 |
409 <dl> |
418 <dl> |
410 |
419 |
411 <dt><i>editor</i> (Editor)</dt> |
420 <dt><i>editor</i> (Editor)</dt> |
412 <dd> |
421 <dd> |
413 reference to the editor |
422 reference to the editor |
414 </dd> |
423 </dd> |
415 </dl> |
424 </dl> |
416 <a NAME="RefactoringRopePlugin.activate" ID="RefactoringRopePlugin.activate"></a> |
425 <a NAME="RefactoringRopePlugin.activate" ID="RefactoringRopePlugin.activate"></a> |
417 <h4>RefactoringRopePlugin.activate</h4> |
426 <h4>RefactoringRopePlugin.activate</h4> |
418 <b>activate</b>(<i></i>) |
427 <b>activate</b>(<i></i>) |
419 |
|
420 <p> |
428 <p> |
421 Public method to activate this plugin. |
429 Public method to activate this plugin. |
422 </p> |
430 </p> |
|
431 |
423 <dl> |
432 <dl> |
424 <dt>Return:</dt> |
433 <dt>Return:</dt> |
425 <dd> |
434 <dd> |
426 tuple of None and activation status |
435 tuple of None and activation status |
427 </dd> |
436 </dd> |