public abstract class AbstractProcessorBasedRenameParticipant
extends org.eclipse.ltk.core.refactoring.participants.RenameParticipant
RenameProcessor
s.Constructor and Description |
---|
AbstractProcessorBasedRenameParticipant() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.ltk.core.refactoring.RefactoringStatus |
checkConditions(org.eclipse.core.runtime.IProgressMonitor pm,
org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext context) |
org.eclipse.ltk.core.refactoring.Change |
createChange(org.eclipse.core.runtime.IProgressMonitor pm) |
protected java.util.List<? extends IRenameElementContext> |
createRenameElementContexts(java.lang.Object element) |
void |
disableFor(java.lang.Object... elements) |
protected void |
dispose() |
java.lang.Object[] |
getElements() |
protected IGlobalServiceProvider |
getGlobalServiceProvider() |
java.lang.String |
getName() |
protected java.lang.String |
getNewName() |
protected abstract java.util.List<org.eclipse.emf.ecore.EObject> |
getRenamedElementsOrProxies(org.eclipse.emf.ecore.EObject originalTarget) |
protected org.eclipse.ltk.core.refactoring.participants.RenameProcessor |
getRenameProcessor(IRenameElementContext participantContext) |
protected java.util.List<org.eclipse.ltk.core.refactoring.participants.RenameProcessor> |
getRenameProcessors(java.lang.Object originalTargetElement) |
protected IRenameRefactoringProvider |
getRenameRefactoringProvider(IRenameElementContext renameElementContext) |
protected StatusWrapper |
getStatus() |
protected boolean |
initialize(java.lang.Object originalTargetElement) |
protected void |
setNewName(org.eclipse.ltk.core.refactoring.participants.RenameProcessor processor,
java.lang.String newName) |
getArguments, initialize
public AbstractProcessorBasedRenameParticipant()
protected boolean initialize(java.lang.Object originalTargetElement)
initialize
in class org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant
protected java.util.List<org.eclipse.ltk.core.refactoring.participants.RenameProcessor> getRenameProcessors(java.lang.Object originalTargetElement)
protected org.eclipse.ltk.core.refactoring.participants.RenameProcessor getRenameProcessor(IRenameElementContext participantContext)
protected IRenameRefactoringProvider getRenameRefactoringProvider(IRenameElementContext renameElementContext)
public java.lang.String getName()
getName
in class org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant
public java.lang.Object[] getElements()
public void disableFor(java.lang.Object... elements)
public org.eclipse.ltk.core.refactoring.RefactoringStatus checkConditions(org.eclipse.core.runtime.IProgressMonitor pm, org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext context) throws org.eclipse.core.runtime.OperationCanceledException
checkConditions
in class org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant
org.eclipse.core.runtime.OperationCanceledException
protected void setNewName(org.eclipse.ltk.core.refactoring.participants.RenameProcessor processor, java.lang.String newName)
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.RefactoringParticipant
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException
protected void dispose()
protected java.util.List<? extends IRenameElementContext> createRenameElementContexts(java.lang.Object element)
protected abstract java.util.List<org.eclipse.emf.ecore.EObject> getRenamedElementsOrProxies(org.eclipse.emf.ecore.EObject originalTarget)
protected java.lang.String getNewName()
protected StatusWrapper getStatus()
protected IGlobalServiceProvider getGlobalServiceProvider()