Class RenameParticipant
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant
org.eclipse.ltk.core.refactoring.participants.RenameParticipant
- All Implemented Interfaces:
IAdaptable
A participant to participate in refactorings that rename elements. A rename
participant can't assume that its associated refactoring processor is a
rename processor. A rename operation might be a side effect of another
refactoring operation.
Rename participants are registered via the extension point
org.eclipse.ltk.core.refactoring.renameParticipants
.
Extensions to this extension point must therefore extend this abstract class.
- Since:
- 3.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the rename arguments.protected final void
initialize
(RefactoringArguments arguments) Initializes the participant with the refactoring argumentsMethods inherited from class org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant
checkConditions, createChange, createPreChange, getName, getProcessor, getTextChange, initialize, initialize
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
-
Constructor Details
-
RenameParticipant
public RenameParticipant()
-
-
Method Details
-
initialize
Description copied from class:RefactoringParticipant
Initializes the participant with the refactoring arguments- Specified by:
initialize
in classRefactoringParticipant
- Parameters:
arguments
- the refactoring arguments
-
getArguments
Returns the rename arguments.- Returns:
- the rename arguments
-