|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.ui.refactoring.impl.AbstractRenameStrategy org.eclipse.xtext.ui.refactoring.impl.EmfResourceRenameStrategy
public class EmfResourceRenameStrategy
Generic rename strategy for EMF resources. For XtextResource
s you should rather use the
DefaultRenameStrategy
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.refactoring.IRenameStrategy |
---|
IRenameStrategy.Provider |
Constructor Summary | |
---|---|
EmfResourceRenameStrategy()
|
Method Summary | |
---|---|
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 |
protected org.eclipse.emf.ecore.EAttribute |
getNameAttribute(org.eclipse.emf.ecore.EObject targetElement)
|
Methods inherited from class org.eclipse.xtext.ui.refactoring.impl.AbstractRenameStrategy |
---|
applyDeclarationChange, getNameAttribute, getOriginalName, getTargetElementNewURI, getTargetElementOriginalURI, initialize, revertDeclarationChange, setName, validateNewName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmfResourceRenameStrategy()
Method Detail |
---|
public void createDeclarationUpdates(java.lang.String newName, org.eclipse.emf.ecore.resource.ResourceSet resourceSet, IRefactoringUpdateAcceptor updateAcceptor)
IRenameStrategy
protected org.eclipse.emf.ecore.EAttribute getNameAttribute(org.eclipse.emf.ecore.EObject targetElement)
getNameAttribute
in class AbstractRenameStrategy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |