Class RenameRefactoring
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.ltk.core.refactoring.Refactoring
-
- org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring
-
- org.eclipse.ltk.core.refactoring.participants.RenameRefactoring
-
- All Implemented Interfaces:
IAdaptable
public class RenameRefactoring extends ProcessorBasedRefactoring
A generic rename refactoring. The actual refactoring is done by the rename processor passed to the constructor.This class is not intended to be subclassed by clients.
- Since:
- 3.0
- Restriction:
- This class is not intended to be subclassed by clients.
-
-
Constructor Summary
Constructors Constructor Description RenameRefactoring(RenameProcessor processor)Creates a new rename refactoring with the given rename processor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RefactoringProcessorgetProcessor()Return the processor associated with this refactoring.-
Methods inherited from class org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring
checkFinalConditions, checkInitialConditions, createChange, getAdapter, getName, getTextChange, isApplicable, setProcessor, toString
-
Methods inherited from class org.eclipse.ltk.core.refactoring.Refactoring
checkAllConditions, doGetRefactoringTickProvider, getRefactoringTickProvider, getValidationContext, setValidationContext
-
-
-
-
Constructor Detail
-
RenameRefactoring
public RenameRefactoring(RenameProcessor processor)
Creates a new rename refactoring with the given rename processor.- Parameters:
processor- the rename processor
-
-
Method Detail
-
getProcessor
public RefactoringProcessor getProcessor()
Description copied from class:ProcessorBasedRefactoringReturn the processor associated with this refactoring. The method must not returnnull. Implementors can override this method to return the processor to be used by this refactoring. Since 3.4, this method returns the processor passed inProcessorBasedRefactoring(RefactoringProcessor)or byProcessorBasedRefactoring.setProcessor(RefactoringProcessor).- Overrides:
getProcessorin classProcessorBasedRefactoring- Returns:
- the processor associated with this refactoring
-
-