the map of similarly named elements (IJavaElement -> String with new name)This map is live. Callers may change the new names of the elements; theymay not change the key set.
the map of similarly named elements (IJavaElement -> Boolean if selected) Thismap is live. Callers may change the selection status of the elements;they may not change the key set.
true iff the "update similarly named elements" flag is set AND thesearch yielded some elements to be renamed.
initialize
public RefactoringStatus initialize(RefactoringArguments arguments)(Code)
initializeReferences
public RefactoringStatus initializeReferences(IProgressMonitor monitor) throws JavaModelException, OperationCanceledException(Code)
Initializes the references to the type and the similarly named elements. This
method creates both the fReferences and the fPreloadedElementToName
fields.
May be called from the UI.
Parameters: monitor - initialization status throws: JavaModelException - some fundamental error with the underlying model throws: OperationCanceledException - if user canceled the task
isApplicable
public boolean isApplicable() throws CoreException(Code)
postCreateChange
public Change postCreateChange(Change[] participantChanges, IProgressMonitor pm) throws CoreException(Code)