org.eclipse.emf.ecore.xcore.ui.refactoring
Class XcoreReferenceFinder
java.lang.Object
org.eclipse.xtext.ui.editor.findrefs.DefaultReferenceFinder
org.eclipse.emf.ecore.xcore.ui.refactoring.XcoreReferenceFinder
- All Implemented Interfaces:
- org.eclipse.xtext.ui.editor.findrefs.IReferenceFinder
public class XcoreReferenceFinder
- extends org.eclipse.xtext.ui.editor.findrefs.DefaultReferenceFinder
This is specialized to filter out duplicates.
Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.editor.findrefs.IReferenceFinder |
org.eclipse.xtext.ui.editor.findrefs.IReferenceFinder.ILocalResourceAccess |
Constructor Summary |
XcoreReferenceFinder(org.eclipse.xtext.resource.IResourceDescriptions indexData,
org.eclipse.xtext.resource.IResourceServiceProvider.Registry serviceProviderRegistry)
|
Method Summary |
protected org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> |
createFilteringReferenceAcceptor(org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> referenceAcceptor)
|
void |
findAllReferences(java.lang.Iterable<URI> targetURIs,
org.eclipse.xtext.ui.editor.findrefs.IReferenceFinder.ILocalResourceAccess localResourceAccess,
org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> referenceAcceptor,
IProgressMonitor monitor)
|
void |
findReferences(java.lang.Iterable<URI> targetURIs,
java.lang.Iterable<URI> sourceResourceURIs,
org.eclipse.xtext.ui.editor.findrefs.IReferenceFinder.ILocalResourceAccess localResourceAccess,
org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> referenceAcceptor,
IProgressMonitor monitor)
|
Methods inherited from class org.eclipse.xtext.ui.editor.findrefs.DefaultReferenceFinder |
createExportedElementsMap, findAllIndexedReferences, findClosestExportedContainerURI, findIndexedReferences, findLocalReferences, findLocalReferencesInResource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XcoreReferenceFinder
@Inject
public XcoreReferenceFinder(org.eclipse.xtext.resource.IResourceDescriptions indexData,
org.eclipse.xtext.resource.IResourceServiceProvider.Registry serviceProviderRegistry)
findReferences
public void findReferences(java.lang.Iterable<URI> targetURIs,
java.lang.Iterable<URI> sourceResourceURIs,
org.eclipse.xtext.ui.editor.findrefs.IReferenceFinder.ILocalResourceAccess localResourceAccess,
org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> referenceAcceptor,
IProgressMonitor monitor)
- Specified by:
findReferences
in interface org.eclipse.xtext.ui.editor.findrefs.IReferenceFinder
- Overrides:
findReferences
in class org.eclipse.xtext.ui.editor.findrefs.DefaultReferenceFinder
findAllReferences
public void findAllReferences(java.lang.Iterable<URI> targetURIs,
org.eclipse.xtext.ui.editor.findrefs.IReferenceFinder.ILocalResourceAccess localResourceAccess,
org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> referenceAcceptor,
IProgressMonitor monitor)
- Specified by:
findAllReferences
in interface org.eclipse.xtext.ui.editor.findrefs.IReferenceFinder
- Overrides:
findAllReferences
in class org.eclipse.xtext.ui.editor.findrefs.DefaultReferenceFinder
createFilteringReferenceAcceptor
protected org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> createFilteringReferenceAcceptor(org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> referenceAcceptor)