org.eclipse.cdt.internal.refactoring
Class CRenameProcessor
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
org.eclipse.ltk.core.refactoring.participants.RenameProcessor
org.eclipse.cdt.internal.refactoring.CRenameProcessor
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable
public class CRenameProcessor
- extends org.eclipse.ltk.core.refactoring.participants.RenameProcessor
This is the processor used for the rename. It decides which of the delegates to
use and forwards further calls to the delegate.
Methods inherited from class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor |
getRefactoring, postCreateChange |
Methods inherited from class org.eclipse.core.runtime.PlatformObject |
getAdapter |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDENTIFIER
public static final java.lang.String IDENTIFIER
- See Also:
- Constant Field Values
CRenameProcessor
public CRenameProcessor(CRefactory refactoringManager,
CRefactoringArgument arg)
getArgument
public CRefactoringArgument getArgument()
getElements
public java.lang.Object[] getElements()
- Specified by:
getElements
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
getProcessorName
public java.lang.String getProcessorName()
- Specified by:
getProcessorName
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
isApplicable
public boolean isApplicable()
throws org.eclipse.core.runtime.CoreException
- Specified by:
isApplicable
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
- Throws:
org.eclipse.core.runtime.CoreException
checkInitialConditions
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
- Specified by:
checkInitialConditions
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
- Throws:
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException
checkFinalConditions
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
- Specified by:
checkFinalConditions
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
- Throws:
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException
createChange
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
- Specified by:
createChange
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
- Throws:
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException
loadParticipants
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
- Specified by:
loadParticipants
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
- Throws:
org.eclipse.core.runtime.CoreException
getAvailableOptions
public int getAvailableOptions()
getOptionsForcingPreview
public int getOptionsForcingPreview()
getOptionsEnablingScope
public int getOptionsEnablingScope()
getIdentifier
public java.lang.String getIdentifier()
- Specified by:
getIdentifier
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
getScope
public int getScope()
setScope
public void setScope(int scope)
getSelectedOptions
public int getSelectedOptions()
setSelectedOptions
public void setSelectedOptions(int selectedOptions)
getWorkingSet
public java.lang.String getWorkingSet()
setWorkingSet
public void setWorkingSet(java.lang.String workingSet)
getReplacementText
public java.lang.String getReplacementText()
setReplacementText
public void setReplacementText(java.lang.String replacementText)
getManager
public CRefactory getManager()
getAstManager
public ASTManager getAstManager()