|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRenameStrategy
Customizable strategy for the text based rename refactoring of a given EObject
.
Nested Class Summary | |
---|---|
static interface |
IRenameStrategy.Provider
|
Method Summary | |
---|---|
void |
applyDeclarationChange(java.lang.String newName,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Applies the declaration change to the semantic model in the given resource set. |
void |
createDeclarationUpdates(java.lang.String newName,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
IRefactoringUpdateAcceptor updateAcceptor)
Creates the document updates and reports them to the updateAcceptor |
java.lang.String |
getOriginalName()
|
void |
revertDeclarationChange(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Reverts the declaration change to the semantic model in the given resource set. |
org.eclipse.ltk.core.refactoring.RefactoringStatus |
validateNewName(java.lang.String newName)
|
Method Detail |
---|
java.lang.String getOriginalName()
org.eclipse.ltk.core.refactoring.RefactoringStatus validateNewName(java.lang.String newName)
void applyDeclarationChange(java.lang.String newName, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
void revertDeclarationChange(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
void createDeclarationUpdates(java.lang.String newName, org.eclipse.emf.ecore.resource.ResourceSet resourceSet, IRefactoringUpdateAcceptor updateAcceptor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |