public abstract class AbstractProcessorBasedRenameParticipant
extends org.eclipse.ltk.core.refactoring.participants.RenameParticipant
RenameProcessors.| 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 List<? extends IRenameElementContext> |
createRenameElementContexts(Object element) |
void |
disableFor(Object... elements) |
protected void |
dispose() |
Object[] |
getElements() |
protected IGlobalServiceProvider |
getGlobalServiceProvider() |
String |
getName() |
protected String |
getNewName() |
protected abstract 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 List<org.eclipse.ltk.core.refactoring.participants.RenameProcessor> |
getRenameProcessors(Object originalTargetElement) |
protected IRenameRefactoringProvider |
getRenameRefactoringProvider(IRenameElementContext renameElementContext) |
protected StatusWrapper |
getStatus() |
protected boolean |
initialize(Object originalTargetElement) |
protected void |
setNewName(org.eclipse.ltk.core.refactoring.participants.RenameProcessor processor,
String newName) |
getArguments, initializepublic AbstractProcessorBasedRenameParticipant()
protected boolean initialize(Object originalTargetElement)
initialize in class org.eclipse.ltk.core.refactoring.participants.RefactoringParticipantprotected List<org.eclipse.ltk.core.refactoring.participants.RenameProcessor> getRenameProcessors(Object originalTargetElement)
protected org.eclipse.ltk.core.refactoring.participants.RenameProcessor getRenameProcessor(IRenameElementContext participantContext)
protected IRenameRefactoringProvider getRenameRefactoringProvider(IRenameElementContext renameElementContext)
public String getName()
getName in class org.eclipse.ltk.core.refactoring.participants.RefactoringParticipantpublic Object[] getElements()
public void disableFor(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.RefactoringParticipantorg.eclipse.core.runtime.OperationCanceledExceptionprotected void setNewName(org.eclipse.ltk.core.refactoring.participants.RenameProcessor processor,
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.RefactoringParticipantorg.eclipse.core.runtime.CoreExceptionorg.eclipse.core.runtime.OperationCanceledExceptionprotected void dispose()
protected List<? extends IRenameElementContext> createRenameElementContexts(Object element)
protected abstract List<org.eclipse.emf.ecore.EObject> getRenamedElementsOrProxies(org.eclipse.emf.ecore.EObject originalTarget)
protected String getNewName()
protected StatusWrapper getStatus()
protected IGlobalServiceProvider getGlobalServiceProvider()
Copyright © 2016. All Rights Reserved.