| java.lang.Object core.EnvEntryDelegate
EnvEntryDelegate | public class EnvEntryDelegate (Code) | | The Delegate Class which does the refactoring modifications
in the source and onto the model. 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, environment entry creation and the model
refactoring are added as one task to the Composite Changed object
used by the processor. |
EnvEntryDelegate | public EnvEntryDelegate(RefactorInfo info, EnvEntry envEntry, Set<IEnvEntryViewer> changeListeners)(Code) | | Constructor
Parameters: info - the refactoring info object Parameters: envEntry - the selected environment entry to change Parameters: changeListeners - the Listeners which listen to envEntry changes |
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, environment entry creation 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 |
|
|