com.pvx.ooadide.refactor
Class RenamePropertyProcessor
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
com.pvx.ooadide.refactor.RenamePropertyProcessor
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable
public class RenamePropertyProcessor
- extends org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
The processor is where the work is delegated to if participants are
involved. The processor loads the participants and manages the lifecycle
of the refactoring. In order to do that, the refactoring entry point
methods must be implemented.
- Author:
- Leif Frenzel
Method Summary |
org.eclipse.ltk.core.refactoring.RefactoringStatus |
checkFinalConditions(org.eclipse.core.runtime.IProgressMonitor pm,
org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext context)
|
org.eclipse.ltk.core.refactoring.RefactoringStatus |
checkInitialConditions(org.eclipse.core.runtime.IProgressMonitor pm)
|
org.eclipse.ltk.core.refactoring.Change |
createChange(org.eclipse.core.runtime.IProgressMonitor pm)
|
java.lang.Object[] |
getElements()
|
java.lang.String |
getIdentifier()
|
java.lang.String |
getProcessorName()
|
boolean |
isApplicable()
|
org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant[] |
loadParticipants(org.eclipse.ltk.core.refactoring.RefactoringStatus status,
org.eclipse.ltk.core.refactoring.participants.SharableParticipants sharedParticipants)
|
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 |
RenamePropertyProcessor
public RenamePropertyProcessor(RenamePropertyInfo info)
getElements
public java.lang.Object[] getElements()
- Specified by:
getElements
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
getIdentifier
public java.lang.String getIdentifier()
- Specified by:
getIdentifier
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)
- Specified by:
checkInitialConditions
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
checkFinalConditions
public org.eclipse.ltk.core.refactoring.RefactoringStatus checkFinalConditions(org.eclipse.core.runtime.IProgressMonitor pm,
org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext context)
- Specified by:
checkFinalConditions
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
createChange
public org.eclipse.ltk.core.refactoring.Change createChange(org.eclipse.core.runtime.IProgressMonitor pm)
- Specified by:
createChange
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
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)
- Specified by:
loadParticipants
in class org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor