RefactoringRope/Documentation/source/Plugin_Refactoring_Rope.RefactoringRope.Refactoring.html

changeset 55
d501156be247
parent 44
8aa985c8dee5
child 86
3339c75dc777
equal deleted inserted replaced
54:e795cb8240aa 55:d501156be247
158 </tr><tr> 158 </tr><tr>
159 <td><a href="#Refactoring.__performSOA">__performSOA</a></td> 159 <td><a href="#Refactoring.__performSOA">__performSOA</a></td>
160 <td>Private slot to perform SOA on all modules.</td> 160 <td>Private slot to perform SOA on all modules.</td>
161 </tr><tr> 161 </tr><tr>
162 <td><a href="#Refactoring.__queryDefinition">__queryDefinition</a></td> 162 <td><a href="#Refactoring.__queryDefinition">__queryDefinition</a></td>
163 <td>Private slot to handle the Find Definition action</td> 163 <td>Private slot to handle the Find Definition action.</td>
164 </tr><tr> 164 </tr><tr>
165 <td><a href="#Refactoring.__queryImplementations">__queryImplementations</a></td> 165 <td><a href="#Refactoring.__queryImplementations">__queryImplementations</a></td>
166 <td>Private slot to handle the Find Implementations action.</td> 166 <td>Private slot to handle the Find Implementations action.</td>
167 </tr><tr> 167 </tr><tr>
168 <td><a href="#Refactoring.__queryReferences">__queryReferences</a></td> 168 <td><a href="#Refactoring.__queryReferences">__queryReferences</a></td>
370 </dd><dt><i>kind</i></dt> 370 </dd><dt><i>kind</i></dt>
371 <dd> 371 <dd>
372 kind of extraction to be done (string, 372 kind of extraction to be done (string,
373 "method" or "variable") 373 "method" or "variable")
374 </dd> 374 </dd>
375 </dl><dl>
376 <dt>Raises <b>Exception</b>:</dt>
377 <dd>
378 raised to indicate a wrong extraction method
379 </dd>
375 </dl><a NAME="Refactoring.__doImports" ID="Refactoring.__doImports"></a> 380 </dl><a NAME="Refactoring.__doImports" ID="Refactoring.__doImports"></a>
376 <h4>Refactoring.__doImports</h4> 381 <h4>Refactoring.__doImports</h4>
377 <b>__doImports</b>(<i>title, method</i>) 382 <b>__doImports</b>(<i>title, method</i>)
378 <p> 383 <p>
379 Private method to perform the various imports refactorings. 384 Private method to perform the various imports refactorings.
380 </p><a NAME="Refactoring.__doRename" ID="Refactoring.__doRename"></a> 385 </p><dl>
386 <dt><i>title</i></dt>
387 <dd>
388 title to be used for the import refactoring (string)
389 </dd><dt><i>method</i></dt>
390 <dd>
391 method performing the import refactoring
392 </dd>
393 </dl><a NAME="Refactoring.__doRename" ID="Refactoring.__doRename"></a>
381 <h4>Refactoring.__doRename</h4> 394 <h4>Refactoring.__doRename</h4>
382 <b>__doRename</b>(<i>title, isLocal=False, renameModule=False</i>) 395 <b>__doRename</b>(<i>title, isLocal=False, renameModule=False</i>)
383 <p> 396 <p>
384 Private method to perform the various renaming refactorings. 397 Private method to perform the various renaming refactorings.
385 </p><dl> 398 </p><dl>
449 </dd> 462 </dd>
450 </dl><a NAME="Refactoring.__getOffset" ID="Refactoring.__getOffset"></a> 463 </dl><a NAME="Refactoring.__getOffset" ID="Refactoring.__getOffset"></a>
451 <h4>Refactoring.__getOffset</h4> 464 <h4>Refactoring.__getOffset</h4>
452 <b>__getOffset</b>(<i>editor, line, index</i>) 465 <b>__getOffset</b>(<i>editor, line, index</i>)
453 <p> 466 <p>
454 Private method to get the offset into the text treating CRLF as ONE character. 467 Private method to get the offset into the text treating CRLF as ONE
468 character.
455 </p><p> 469 </p><p>
456 Note: rope seems to convert all EOL styles to just \n. 470 Note: rope seems to convert all EOL styles to just \n.
457 </p><dl> 471 </p><dl>
458 <dt><i>editor</i></dt> 472 <dt><i>editor</i></dt>
459 <dd> 473 <dd>
538 Private slot to perform SOA on all modules. 552 Private slot to perform SOA on all modules.
539 </p><a NAME="Refactoring.__queryDefinition" ID="Refactoring.__queryDefinition"></a> 553 </p><a NAME="Refactoring.__queryDefinition" ID="Refactoring.__queryDefinition"></a>
540 <h4>Refactoring.__queryDefinition</h4> 554 <h4>Refactoring.__queryDefinition</h4>
541 <b>__queryDefinition</b>(<i></i>) 555 <b>__queryDefinition</b>(<i></i>)
542 <p> 556 <p>
543 Private slot to handle the Find Definition action 557 Private slot to handle the Find Definition action.
544 </p><a NAME="Refactoring.__queryImplementations" ID="Refactoring.__queryImplementations"></a> 558 </p><a NAME="Refactoring.__queryImplementations" ID="Refactoring.__queryImplementations"></a>
545 <h4>Refactoring.__queryImplementations</h4> 559 <h4>Refactoring.__queryImplementations</h4>
546 <b>__queryImplementations</b>(<i></i>) 560 <b>__queryImplementations</b>(<i></i>)
547 <p> 561 <p>
548 Private slot to handle the Find Implementations action. 562 Private slot to handle the Find Implementations action.
740 <h4>Refactoring.refreshEditors</h4> 754 <h4>Refactoring.refreshEditors</h4>
741 <b>refreshEditors</b>(<i>changes</i>) 755 <b>refreshEditors</b>(<i>changes</i>)
742 <p> 756 <p>
743 Public method to refresh modified editors. 757 Public method to refresh modified editors.
744 </p><dl> 758 </p><dl>
745 <dt><i>reference</i></dt> 759 <dt><i>changes</i></dt>
746 <dd> 760 <dd>
747 to the Changes object (rope.base.change.ChangeSet) 761 reference to the ChangeSet object
762 (rope.base.change.ChangeSet)
748 </dd> 763 </dd>
749 </dl> 764 </dl>
750 <div align="right"><a href="#top">Up</a></div> 765 <div align="right"><a href="#top">Up</a></div>
751 <hr /> 766 <hr />
752 </body></html> 767 </body></html>

eric ide

mercurial