public class DelegatingReferenceFinder extends Object implements IReferenceFinder, IReferenceFinderExtension1
IReferenceFinder.ILocalResourceAccess| Constructor and Description |
|---|
DelegatingReferenceFinder() |
| Modifier and Type | Method and Description |
|---|---|
void |
findAllReferences(Iterable<org.eclipse.emf.common.util.URI> targetURIs,
IReferenceFinder.ILocalResourceAccess localResourceAccess,
IAcceptor<IReferenceDescription> acceptor,
org.eclipse.core.runtime.IProgressMonitor monitor)
Finds all references to the given
targetURIs. |
void |
findReferences(Iterable<org.eclipse.emf.common.util.URI> targetURIs,
Iterable<org.eclipse.emf.common.util.URI> sourceResourceURIs,
IReferenceFinder.ILocalResourceAccess localResourceAccess,
IAcceptor<IReferenceDescription> acceptor,
org.eclipse.core.runtime.IProgressMonitor monitor)
Finds all references from an iterable of source resources to the given
targetURIs. |
void |
findReferences(Set<org.eclipse.emf.common.util.URI> targetURIs,
IResourceDescription resourceDescription,
IAcceptor<IReferenceDescription> acceptor,
org.eclipse.core.runtime.IProgressMonitor monitor,
IReferenceFinder.ILocalResourceAccess localResourceAccess) |
TargetURIConverter |
getConverter()
Public for testing purpose.
|
IReferenceFinder |
getDelegate()
Public for testing purpose.
|
IResourceDescriptions |
getIndexData()
Public for testing purpose.
|
IResourceServiceProvider.Registry |
getResourceServiceProviderRegistry()
Public for testing purpose.
|
void |
setConverter(TargetURIConverter converter)
Public for testing purpose.
|
void |
setDelegate(IReferenceFinder delegate)
Public for testing purpose.
|
void |
setIndexData(IResourceDescriptions indexData)
Public for testing purpose.
|
void |
setResourceServiceProviderRegistry(IResourceServiceProvider.Registry resourceServiceProviderRegistry)
Public for testing purpose.
|
protected IReferenceFinder.Acceptor |
toAcceptor(IAcceptor<IReferenceDescription> acceptor) |
public void findReferences(Set<org.eclipse.emf.common.util.URI> targetURIs, IResourceDescription resourceDescription, IAcceptor<IReferenceDescription> acceptor, org.eclipse.core.runtime.IProgressMonitor monitor, IReferenceFinder.ILocalResourceAccess localResourceAccess)
findReferences in interface IReferenceFinderExtension1public void findReferences(Iterable<org.eclipse.emf.common.util.URI> targetURIs, Iterable<org.eclipse.emf.common.util.URI> sourceResourceURIs, IReferenceFinder.ILocalResourceAccess localResourceAccess, IAcceptor<IReferenceDescription> acceptor, org.eclipse.core.runtime.IProgressMonitor monitor)
IReferenceFindertargetURIs.findReferences in interface IReferenceFindertargetURIs - the URIs of the target elements of the references. Should be normalized.sourceResourceURIs - the search scope for the resources containing the sources of the references.localResourceAccess - used to find local references. If null, only indexed references are returned.acceptor - accepts the matches.monitor - the progress monitor. Can be null.public void findAllReferences(Iterable<org.eclipse.emf.common.util.URI> targetURIs, IReferenceFinder.ILocalResourceAccess localResourceAccess, IAcceptor<IReferenceDescription> acceptor, org.eclipse.core.runtime.IProgressMonitor monitor)
IReferenceFindertargetURIs.findAllReferences in interface IReferenceFindertargetURIs - the URIs of the target elements of the references. Should be normalized.localResourceAccess - used to find local references. If null, only indexed references are returned.acceptor - accepts the matches.monitor - the progress monitor. Can be null.protected IReferenceFinder.Acceptor toAcceptor(IAcceptor<IReferenceDescription> acceptor)
public TargetURIConverter getConverter()
public void setConverter(TargetURIConverter converter)
public IReferenceFinder getDelegate()
public void setDelegate(IReferenceFinder delegate)
public IResourceDescriptions getIndexData()
public void setIndexData(IResourceDescriptions indexData)
public IResourceServiceProvider.Registry getResourceServiceProviderRegistry()
public void setResourceServiceProviderRegistry(IResourceServiceProvider.Registry resourceServiceProviderRegistry)
Copyright © 2016. All Rights Reserved.