org.eclipse.xtext.xtend2.ui.refactoring
Class Xtend2RenameStrategy
java.lang.Object
org.eclipse.xtext.ui.refactoring.impl.AbstractRenameStrategy
org.eclipse.xtext.ui.refactoring.impl.DefaultRenameStrategy
org.eclipse.xtext.xbase.ui.jvmmodel.refactoring.AbstractJvmModelRenameStrategy
org.eclipse.xtext.xtend2.ui.refactoring.Xtend2RenameStrategy
- All Implemented Interfaces:
- IRenameStrategy
public class Xtend2RenameStrategy
- extends AbstractJvmModelRenameStrategy
Encapsulates the model changes of a rename refactoring.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Xtend2RenameStrategy
protected Xtend2RenameStrategy(org.eclipse.emf.ecore.EObject targetElement,
org.eclipse.emf.ecore.EAttribute nameAttribute,
ITextRegion originalNameRegion,
java.lang.String nameRuleName,
IValueConverterService valueConverterService,
IXtend2JvmAssociations jvmModelAssociations)
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
getJvmModelAssociations
protected IXtend2JvmAssociations getJvmModelAssociations()
- Overrides:
getJvmModelAssociations
in class AbstractJvmModelRenameStrategy
setInferredJvmElementName
protected void setInferredJvmElementName(java.lang.String name,
org.eclipse.emf.ecore.EObject renamedElement)
- Specified by:
setInferredJvmElementName
in class AbstractJvmModelRenameStrategy
getPathToRename
protected org.eclipse.core.runtime.IPath getPathToRename(org.eclipse.emf.common.util.URI elementURI,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)