org.eclipse.cdt.internal.refactoring
Class CRenameProcessorDelegate

java.lang.Object
  extended by org.eclipse.cdt.internal.refactoring.CRenameProcessorDelegate
Direct Known Subclasses:
CRenameGlobalProcessor, CRenameIncludeProcessor, CRenameLocalProcessor

public abstract class CRenameProcessorDelegate
extends java.lang.Object

Abstract base for all different rename processors used by the top processor.


Method Summary
 org.eclipse.ltk.core.refactoring.RefactoringStatus checkFinalConditions(org.eclipse.core.runtime.IProgressMonitor monitor, 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)
           
 CRefactoringArgument getArgument()
           
 ASTManager getAstManager()
           
 CRefactory getManager()
           
 java.lang.String getProcessorName()
           
 java.lang.String getReplacementText()
           
 int getSelectedOptions()
           
 int getSelectedScope()
           
 java.lang.String getSelectedWorkingSet()
           
 void setAvailableOptions(int options)
          The options presented by the page in the refactoring wizard.
 void setOptionsEnablingScope(int options)
          The options that need the scope definition.
 void setOptionsForcingPreview(int options)
          The options each of which forces the preview, when selected.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getArgument

public final CRefactoringArgument getArgument()

getReplacementText

public final java.lang.String getReplacementText()

getSelectedScope

public final int getSelectedScope()

getSelectedOptions

public final int getSelectedOptions()

getSelectedWorkingSet

public final java.lang.String getSelectedWorkingSet()

getManager

public final CRefactory getManager()

getAstManager

public final ASTManager getAstManager()

getProcessorName

public final java.lang.String getProcessorName()

setAvailableOptions

public void setAvailableOptions(int options)
The options presented by the page in the refactoring wizard.


setOptionsForcingPreview

public void setOptionsForcingPreview(int options)
The options each of which forces the preview, when selected.


setOptionsEnablingScope

public void setOptionsEnablingScope(int options)
The options that need the scope definition. When one of them is selected, the scope options are enabled.


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
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 monitor,
                                                                               org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext context)
                                                                        throws org.eclipse.core.runtime.CoreException,
                                                                               org.eclipse.core.runtime.OperationCanceledException
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
Throws:
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException