Module implementing the refactoring interface to rope.
Refactoring | Class implementing the refactoring interface to rope. |
None |
Class implementing the refactoring interface to rope.
Refactoring | Constructor |
__canRedo | Private slot to check, if there are changes to be redone. |
__canRedoFile | Private slot to check, if there are redoable changes for a resource. |
__canUndo | Private slot to check, if there are changes to be undone. |
__canUndoFile | Private slot to check, if there are undoable changes for a resource. |
__changeOccurrences | Private slot to perform the Change Occurrenses refactoring. |
__changeSignature | Private slot to change the signature of a method or function. |
__clearHistory | Private slot to clear the redo and undo lists. |
__configChanged | Private slot called, when the rope config file has changed. |
__convertLocalToAttribute | Private slot to convert a local variable to an attribute. |
__defaultConfig | Private slot to return the contents of rope's default configuration. |
__doExtract | Private method to perform the extract refactoring. |
__doImports | Private method to perform the various imports refactorings. |
__doRename | Private method to perform the various renaming refactorings. |
__editConfig | Private slot to open the rope configuration file in an editor. |
__encapsulateAttribute | Private slot to encapsulate an attribute. |
__extractLocalVariable | Private slot to handle the Extract Local Variable action. |
__extractMethod | Private slot to handle the Extract Method action. |
__findAllErrors | Private method to find bad names and attribute accesses in all files of the project. |
__findErrors | Private method to find bad names and attribute accesses in the current file. |
__getFileRedoList | Private slot to get a list of redoable changes. |
__getFileUndoList | Private slot to get a list of undoable changes. |
__importsExpandStar | Private slot to expand star imports. |
__importsFromToImport | Private slot to transform from imports to plain imports. |
__importsHandleLong | Private slot to handle long imports. |
__importsOrganize | Private slot to organize imports. |
__importsRelativeToAbsolute | Private slot to transform relative to absolute imports. |
__inline | Private slot to handle the Inline Local Variable action. |
__inlineArgumentDefault | Private slot to inline the default value of a parameter of a method or function. |
__introduceFactoryMethod | Private slot to introduce a factory method or global function. |
__introduceParameter | Private slot to introduce a parameter in a function. |
__methodToMethodObject | Private slot to change the signature of a method or function. |
__moveMethod | Private slot to handle the Move Method action. |
__moveModule | Private slot to handle the Move Current Module action. |
__performSOA | Private slot to perform SOA on all modules. |
__queryDefinition | Private slot to handle the Find Definition action |
__queryImplementations | Private slot to handle the Find Implementations action. |
__queryReferences | Private slot to handle the Find References action. |
__redo | Private slot to redo the last refactoring. |
__rename | Private slot to handle the Rename action. |
__renameLocal | Private slot to handle the Local Rename action. |
__renameModule | Private slot to handle the Rename Current Module action. |
__restructure | Private slot to restructure code. |
__ropeConfigFile | Private method to get the name of the rope configuration file. |
__ropeInfo | Private slot to show some info about rope. |
__showFileRedoHistory | Private method to show list of changes related to the current file available for a redo operation. |
__showFileUndoHistory | Private method to show list of changes related to the current file available for an undo operation. |
__showProjectRedoHistory | Private method to show list of changes available for a redo operation. |
__showProjectUndoHistory | Private method to show list of changes available for an undo operation. |
__showRefactoringHistoryMenu | Private slot called before the refactoring history menu is shown. |
__showRefactoringMenu | Private slot called before the refactoring menu is shown. |
__showRopeHelp | Private slot to show help about the refactorings offered by Rope. |
__transformModuleToPackage | Private slot to transform a module to a package. |
__undo | Private slot to undo the last refactoring. |
__updateConfig | Private slot to update the configuration file. |
__useFunction | Private slot to use a function wherever possible. |
confirmAllBuffersSaved | Private method to check, if any editor has unsaved changes. |
confirmBufferIsSaved | Private method to check, if an editor has unsaved changes. |
getActions | Public method to get a list of all actions. |
getProject | Public method to get a reference to the rope project object. |
handleRopeError | Public slot to handle a rope error. |
initActions | Public method to define the refactoring actions. |
initMenu | Public slot to initialize the refactoring menu. |
projectClosed | Public slot to handle the projectClosed signal. |
projectOpened | Public slot to handle the projectOpened signal. |
refreshEditors | Public method to refresh modified editors. |
Constructor
Private slot to check, if there are changes to be redone.
Private slot to check, if there are redoable changes for a resource.
Private slot to check, if there are changes to be undone.
Private slot to check, if there are undoable changes for a resource.
Private slot to perform the Change Occurrenses refactoring.
Private slot to change the signature of a method or function.
Private slot to clear the redo and undo lists.
Private slot called, when the rope config file has changed.
Private slot to convert a local variable to an attribute.
Private slot to return the contents of rope's default configuration.
Private method to perform the extract refactoring.
Private method to perform the various imports refactorings.
Private method to perform the various renaming refactorings.
Private slot to open the rope configuration file in an editor.
Private slot to encapsulate an attribute.
Private slot to handle the Extract Local Variable action.
Private slot to handle the Extract Method action.
Private method to find bad names and attribute accesses in all files of the project.
Private method to find bad names and attribute accesses in the current file.
Private slot to get a list of redoable changes.
Private slot to get a list of undoable changes.
Private slot to expand star imports.
Private slot to transform from imports to plain imports.
Private slot to handle long imports.
Private slot to organize imports.
Private slot to transform relative to absolute imports.
Private slot to handle the Inline Local Variable action.
Private slot to inline the default value of a parameter of a method or function.
Private slot to introduce a factory method or global function.
Private slot to introduce a parameter in a function.
Private slot to change the signature of a method or function.
Private slot to handle the Move Method action.
Private slot to handle the Move Current Module action.
Private slot to perform SOA on all modules.
Private slot to handle the Find Definition action
Private slot to handle the Find Implementations action.
Private slot to handle the Find References action.
Private slot to redo the last refactoring.
Private slot to handle the Rename action.
Private slot to handle the Local Rename action.
Private slot to handle the Rename Current Module action.
Private slot to restructure code.
Private method to get the name of the rope configuration file.
Private slot to show some info about rope.
Private method to show list of changes related to the current file available for a redo operation.
Private method to show list of changes related to the current file available for an undo operation.
Private method to show list of changes available for a redo operation.
Private method to show list of changes available for an undo operation.
Private slot called before the refactoring history menu is shown.
Private slot called before the refactoring menu is shown.
Private slot to show help about the refactorings offered by Rope.
Private slot to transform a module to a package.
Private slot to undo the last refactoring.
Private slot to update the configuration file.
Private slot to use a function wherever possible.
Private method to check, if any editor has unsaved changes.
Private method to check, if an editor has unsaved changes.
Public method to get a list of all actions.
Public method to get a reference to the rope project object.
Public slot to handle a rope error.
Public method to define the refactoring actions.
Public slot to initialize the refactoring menu.
Public slot to handle the projectClosed signal.
Public slot to handle the projectOpened signal.
Public method to refresh modified editors.