| gui.participants.CUModelChange
CUModelChange | public class CUModelChange extends Change (Code) | | This change class is responsible for updating the implementation
property in the process models. It checks which model
element has the same implementation statement. If so
the new string will be set. It also returns the
undo operation for this modification.
author: sh |
CUModelChange | public CUModelChange(Object selection, RenameArguments arguments)(Code) | | Constructor
Parameters: selection - the element to refacter Parameters: arguments - the input data of the refactoring dialog |
getModifiedElement | public Object getModifiedElement()(Code) | | Returns the element modified by this Change . The method may return
null if the change isn't related to an element.
the element modified by this change |
initializeValidationData | public void initializeValidationData(IProgressMonitor pm)(Code) | | |
isValid | public RefactoringStatus isValid(IProgressMonitor pm) throws CoreException, OperationCanceledException(Code) | | |
perform | public Change perform(IProgressMonitor pm) throws CoreException(Code) | | Performs this change after the method isValid has been called. If isValid
returns an fatal error or the change is disabled this change will not be performed.
Changes should in general not respond to
IProgressMonitor.isCanceled
since canceling a change tree in the middle of its execution leaves the workspace
in a half changed state.
Parameters: pm - a progress monitor the undo change for this change object or null if noundo is provided throws: CoreException - if an error occurred during change execution |
|
|