public class CompositeRefactoringProcessor extends AbstractRenameProcessor
CompositeRefactoringProcessor.Access class, that keeps track of the ongoing JDT
refactoring.| Modifier and Type | Class and Description |
|---|---|
static class |
CompositeRefactoringProcessor.Access |
| Constructor and Description |
|---|
CompositeRefactoringProcessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addProcessor(org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor processor) |
org.eclipse.ltk.core.refactoring.RefactoringStatus |
checkFinalConditions(org.eclipse.core.runtime.IProgressMonitor pm,
org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext context) |
org.eclipse.ltk.core.refactoring.RefactoringStatus |
checkInitialConditions(org.eclipse.core.runtime.IProgressMonitor pm) |
org.eclipse.ltk.core.refactoring.Change |
createChange(org.eclipse.core.runtime.IProgressMonitor pm) |
java.lang.Object[] |
getElements() |
java.lang.String |
getIdentifier() |
java.lang.String |
getNewName() |
int |
getNumProcessors() |
java.lang.String |
getOriginalName() |
java.lang.String |
getProcessorName() |
boolean |
initialize(IRenameElementContext renameElementContext) |
boolean |
isApplicable() |
org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant[] |
loadParticipants(org.eclipse.ltk.core.refactoring.RefactoringStatus status,
org.eclipse.ltk.core.refactoring.participants.SharableParticipants sharedParticipants) |
void |
setNewName(java.lang.String newName) |
org.eclipse.ltk.core.refactoring.RefactoringStatus |
validateNewName(java.lang.String newName) |
public boolean addProcessor(org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor processor)
public int getNumProcessors()
public java.lang.Object[] getElements()
getElements in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessorpublic java.lang.String getProcessorName()
getProcessorName in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessorpublic boolean isApplicable()
throws org.eclipse.core.runtime.CoreException
isApplicable in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessororg.eclipse.core.runtime.CoreExceptionpublic org.eclipse.ltk.core.refactoring.RefactoringStatus checkInitialConditions(org.eclipse.core.runtime.IProgressMonitor pm)
throws org.eclipse.core.runtime.CoreException,
org.eclipse.core.runtime.OperationCanceledException
checkInitialConditions in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessororg.eclipse.core.runtime.CoreExceptionorg.eclipse.core.runtime.OperationCanceledExceptionpublic org.eclipse.ltk.core.refactoring.RefactoringStatus checkFinalConditions(org.eclipse.core.runtime.IProgressMonitor pm,
org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext context)
throws org.eclipse.core.runtime.CoreException,
org.eclipse.core.runtime.OperationCanceledException
checkFinalConditions in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessororg.eclipse.core.runtime.CoreExceptionorg.eclipse.core.runtime.OperationCanceledExceptionpublic org.eclipse.ltk.core.refactoring.Change createChange(org.eclipse.core.runtime.IProgressMonitor pm)
throws org.eclipse.core.runtime.CoreException,
org.eclipse.core.runtime.OperationCanceledException
createChange in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessororg.eclipse.core.runtime.CoreExceptionorg.eclipse.core.runtime.OperationCanceledExceptionpublic org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant[] loadParticipants(org.eclipse.ltk.core.refactoring.RefactoringStatus status,
org.eclipse.ltk.core.refactoring.participants.SharableParticipants sharedParticipants)
throws org.eclipse.core.runtime.CoreException
loadParticipants in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessororg.eclipse.core.runtime.CoreExceptionpublic java.lang.String getIdentifier()
getIdentifier in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessorpublic boolean initialize(IRenameElementContext renameElementContext)
initialize in class AbstractRenameProcessorpublic java.lang.String getOriginalName()
getOriginalName in class AbstractRenameProcessorpublic java.lang.String getNewName()
getNewName in class AbstractRenameProcessorpublic void setNewName(java.lang.String newName)
setNewName in class AbstractRenameProcessorpublic org.eclipse.ltk.core.refactoring.RefactoringStatus validateNewName(java.lang.String newName)
validateNewName in class AbstractRenameProcessor