| java.lang.Object core.RenameImplementationDelegate
RenameImplementationDelegate | public class RenameImplementationDelegate (Code) | | The Delegate Class which does the refactoring modifications
in the model and onto the source. It also contains the undo
modifications.
author: sh |
Method Summary | |
public RefactoringStatus | checkFinalConditions(IProgressMonitor pm, CheckConditionsContext ctxt) Checks the final conditions before the refactoring will be executed. | public RefactoringStatus | checkInitialConditions() Check if the info object contains valid information. | void | createChange(IProgressMonitor pm, CompositeChange rootChange) The code refactoring and the model refactoring are added
as one task to the Composite Changed object used by the processor. |
RenameImplementationDelegate | public RenameImplementationDelegate(ModelInfo info)(Code) | | Constructor
Parameters: info - the refactoring info object |
checkFinalConditions | public RefactoringStatus checkFinalConditions(IProgressMonitor pm, CheckConditionsContext ctxt)(Code) | | Checks the final conditions before the refactoring will be executed.
If an error will be returned no refactoring operation will be invoked.
Parameters: pm - a progress monitor Parameters: ctxt - result a Refactoring Status object |
checkInitialConditions | public RefactoringStatus checkInitialConditions()(Code) | | Check if the info object contains valid information.
result a Refactoring Status object |
createChange | void createChange(IProgressMonitor pm, CompositeChange rootChange)(Code) | | The code refactoring and the model refactoring are added
as one task to the Composite Changed object used by the processor.
Each refactoring change object contains its undo handling.
If an undo operation was executed, all tasks of the Composite
Change object are considered.
Parameters: pm - a progress monitor Parameters: rootChange - the Composite Change object |
|
|