public class EmfResourceRenameStrategy extends AbstractRenameStrategy
XtextResources you should rather use the
DefaultRenameStrategy.IRenameStrategy.Provider| Constructor and Description |
|---|
EmfResourceRenameStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
createDeclarationUpdates(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) |
applyDeclarationChange, getNameAttribute, getOriginalName, getTargetElementNewURI, getTargetElementOriginalURI, initialize, revertDeclarationChange, setName, validateNewNamepublic void createDeclarationUpdates(String newName, org.eclipse.emf.ecore.resource.ResourceSet resourceSet, IRefactoringUpdateAcceptor updateAcceptor)
IRenameStrategyprotected org.eclipse.emf.ecore.EAttribute getNameAttribute(org.eclipse.emf.ecore.EObject targetElement)
getNameAttribute in class AbstractRenameStrategyCopyright © 2016. All Rights Reserved.