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.RefactoringProcessor
public java.lang.String getProcessorName()
getProcessorName
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
public boolean isApplicable() throws org.eclipse.core.runtime.CoreException
isApplicable
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
org.eclipse.core.runtime.CoreException
public 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.RefactoringProcessor
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException
public 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.RefactoringProcessor
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException
public 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.RefactoringProcessor
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException
public 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.RefactoringProcessor
org.eclipse.core.runtime.CoreException
public java.lang.String getIdentifier()
getIdentifier
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
public boolean initialize(IRenameElementContext renameElementContext)
initialize
in class AbstractRenameProcessor
public java.lang.String getOriginalName()
getOriginalName
in class AbstractRenameProcessor
public java.lang.String getNewName()
getNewName
in class AbstractRenameProcessor
public void setNewName(java.lang.String newName)
setNewName
in class AbstractRenameProcessor
public org.eclipse.ltk.core.refactoring.RefactoringStatus validateNewName(java.lang.String newName)
validateNewName
in class AbstractRenameProcessor