org.eclipse.xtend.ide.refactoring
Class XtendRenameStrategy
java.lang.Object
org.eclipse.xtext.ui.refactoring.impl.AbstractRenameStrategy
org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy
org.eclipse.xtext.xbase.ui.refactoring.XbaseRenameStrategy
org.eclipse.xtext.xbase.ui.jvmmodel.refactoring.DefaultJvmModelRenameStrategy
org.eclipse.xtend.ide.refactoring.XtendRenameStrategy
- All Implemented Interfaces:
- DefaultRenameStrategyProvider.IInitializable, IRenameStrategy
public class XtendRenameStrategy
- extends DefaultJvmModelRenameStrategy
Encapsulates the model changes of a rename refactoring.
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.core.runtime.IPath |
getPathToRename(org.eclipse.emf.common.util.URI elementURI,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
|
boolean |
initialize(org.eclipse.emf.ecore.EObject targetElement,
IRenameElementContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XtendRenameStrategy
public XtendRenameStrategy()
initialize
public boolean initialize(org.eclipse.emf.ecore.EObject targetElement,
IRenameElementContext context)
- Specified by:
initialize
in interface DefaultRenameStrategyProvider.IInitializable
- Overrides:
initialize
in class DefaultRenameStrategy
createDeclarationUpdates
public void createDeclarationUpdates(java.lang.String newName,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
IRefactoringUpdateAcceptor updateAcceptor)
- Description copied from interface:
IRenameStrategy
- Creates the document updates and reports them to the updateAcceptor
- Specified by:
createDeclarationUpdates
in interface IRenameStrategy
- Overrides:
createDeclarationUpdates
in class DefaultRenameStrategy
getPathToRename
protected org.eclipse.core.runtime.IPath getPathToRename(org.eclipse.emf.common.util.URI elementURI,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)