org.eclipse.xtext.ui.refactoring.impl
Class ReferenceUpdaterDispatcher

java.lang.Object
  extended by org.eclipse.xtext.ui.refactoring.impl.ReferenceUpdaterDispatcher

public class ReferenceUpdaterDispatcher
extends java.lang.Object

Finds all references to renamed elements and dispatches to the IReferenceUpdater of the referring languages to calculate the updates.

Author:
Jan Koehnlein - Initial contribution and API

Nested Class Summary
protected static class ReferenceUpdaterDispatcher.OptionalReferenceUpdaterProxy
           
static class ReferenceUpdaterDispatcher.ReferenceDescriptionAcceptor
           
 
Constructor Summary
ReferenceUpdaterDispatcher()
           
 
Method Summary
protected  ReferenceUpdaterDispatcher.ReferenceDescriptionAcceptor createFindReferenceAcceptor(IRefactoringUpdateAcceptor updateAcceptor)
           
 void createReferenceUpdates(ElementRenameArguments elementRenameArguments, org.eclipse.emf.ecore.resource.ResourceSet resourceSet, IRefactoringUpdateAcceptor updateAcceptor, org.eclipse.core.runtime.IProgressMonitor monitor)
           
protected  void createReferenceUpdates(IReferenceUpdater referenceUpdater, ElementRenameArguments elementRenameArguments, java.lang.Iterable<IReferenceDescription> referenceDescriptions, IRefactoringUpdateAcceptor updateAcceptor, org.eclipse.core.runtime.SubMonitor updaterProgress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferenceUpdaterDispatcher

public ReferenceUpdaterDispatcher()
Method Detail

createReferenceUpdates

public void createReferenceUpdates(ElementRenameArguments elementRenameArguments,
                                   org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
                                   IRefactoringUpdateAcceptor updateAcceptor,
                                   org.eclipse.core.runtime.IProgressMonitor monitor)

createReferenceUpdates

protected void createReferenceUpdates(IReferenceUpdater referenceUpdater,
                                      ElementRenameArguments elementRenameArguments,
                                      java.lang.Iterable<IReferenceDescription> referenceDescriptions,
                                      IRefactoringUpdateAcceptor updateAcceptor,
                                      org.eclipse.core.runtime.SubMonitor updaterProgress)

createFindReferenceAcceptor

protected ReferenceUpdaterDispatcher.ReferenceDescriptionAcceptor createFindReferenceAcceptor(IRefactoringUpdateAcceptor updateAcceptor)