Class ReferenceFinderParticipantServiceProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.ui.editor.findref.ReferenceFinderParticipantServiceProvider
-
public class ReferenceFinderParticipantServiceProvider extends Object
Special service for accumulating allIReferenceFinderParticipant
.
-
-
Constructor Summary
Constructors Constructor Description ReferenceFinderParticipantServiceProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearResourceSet()
Clears temporary data.void
findAllReferences(Iterable<org.eclipse.emf.common.util.URI> targetURIs, org.eclipse.xtext.util.IAcceptor<IReferenceFinderParticipant.IReferenceDescriptionFinderParticipant> acceptor, org.eclipse.core.runtime.IProgressMonitor monitor)
Finds all references to the giventargetURIs
.protected List<IReferenceFinderParticipant>
getAllParticipants()
Gets all registered participants
-
-
-
Method Detail
-
findAllReferences
public void findAllReferences(Iterable<org.eclipse.emf.common.util.URI> targetURIs, org.eclipse.xtext.util.IAcceptor<IReferenceFinderParticipant.IReferenceDescriptionFinderParticipant> acceptor, org.eclipse.core.runtime.IProgressMonitor monitor)
Finds all references to the giventargetURIs
.
Accumulates all references from allIReferenceFinderParticipant
.- Parameters:
targetURIs
- the URIs of the target elements of the references. Should be normalized, can't benull
acceptor
- accepts the matches, can't benull
monitor
- the progress monitor. Can benull
.
-
clearResourceSet
public void clearResourceSet()
Clears temporary data. This methods is called before each references finding operation
-
getAllParticipants
protected List<IReferenceFinderParticipant> getAllParticipants()
Gets all registered participants- Returns:
- all registered
IReferenceFinderParticipant
participants, nevernull
-
-