com.pvx.ooadide.properties.refactoring.core
Class RenamePropertyProcessor

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.ltk.core.refactoring.participants.RefactoringProcessor
          extended by com.pvx.ooadide.properties.refactoring.core.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

Constructor Summary
RenamePropertyProcessor(ResourcePropertyInfo[] info)
           
 
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
 

Constructor Detail

RenamePropertyProcessor

public RenamePropertyProcessor(ResourcePropertyInfo[] info)
Method Detail

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