org.eclipse.xtext.ui.refactoring
Interface IRenameProcessorAdapter

All Known Implementing Classes:
AbstractRenameProcessor, JavaRenameProcessorAdapter, JvmReferenceUpdateRenameProcessor, RenameElementProcessor

public interface IRenameProcessorAdapter

A common interface for JDT's INameUpdating and Xtext's AbstractRenameProcessor.

Author:
Jan Koehnlein - Initial contribution and API

Nested Class Summary
static class IRenameProcessorAdapter.DefaultFactory
           
static interface IRenameProcessorAdapter.Factory
           
 
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.String getNewName()
           
 java.lang.String getOriginalName()
           
 void setNewName(java.lang.String newName)
           
 org.eclipse.ltk.core.refactoring.RefactoringStatus validateNewName(java.lang.String newName)
           
 

Method Detail

getOriginalName

java.lang.String getOriginalName()

getNewName

java.lang.String getNewName()

setNewName

void setNewName(java.lang.String newName)

validateNewName

org.eclipse.ltk.core.refactoring.RefactoringStatus validateNewName(java.lang.String newName)

checkInitialConditions

org.eclipse.ltk.core.refactoring.RefactoringStatus checkInitialConditions(org.eclipse.core.runtime.IProgressMonitor pm)
                                                                          throws java.lang.Exception
Throws:
java.lang.Exception

checkFinalConditions

org.eclipse.ltk.core.refactoring.RefactoringStatus checkFinalConditions(org.eclipse.core.runtime.IProgressMonitor pm,
                                                                        org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext context)
                                                                        throws java.lang.Exception
Throws:
java.lang.Exception

createChange

org.eclipse.ltk.core.refactoring.Change createChange(org.eclipse.core.runtime.IProgressMonitor pm)
                                                     throws java.lang.Exception
Throws:
java.lang.Exception