Interface FindUsagesParticipant
- 
 public interface FindUsagesParticipantEffective (usually index-based) implementation of find usages routines. Participants are invoked one by one, followed by the default (or dummy) participant. Processed models are reported to the processedConsumer to exclude them from the scope of subsequent participants. The default participant traverses unprocessed models recursively (which forces models to be loaded into memory).
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfindInstances(Collection<SModel> scope, Set<SAbstractConcept> concepts, Consumer<SNode> consumer, Consumer<SModel> processedConsumer)Finds instances of the provided concepts in the scope.voidfindModelUsages(Collection<SModel> scope, Set<SModelReference> modelReferences, Consumer<SModel> consumer, Consumer<SModel> processedConsumer)Finds models referencing the provided set of models in the scope.voidfindUsages(Collection<SModel> scope, Set<SNode> nodes, Consumer<SReference> consumer, Consumer<SModel> processedConsumer)Finds references to the provided nodes in the scope.
 
- 
- 
- 
Method Detail- 
findUsagesvoid findUsages(Collection<SModel> scope, Set<SNode> nodes, Consumer<SReference> consumer, Consumer<SModel> processedConsumer) Finds references to the provided nodes in the scope.
 - 
findInstancesvoid findInstances(Collection<SModel> scope, Set<SAbstractConcept> concepts, Consumer<SNode> consumer, Consumer<SModel> processedConsumer) Finds instances of the provided concepts in the scope.
 - 
findModelUsagesvoid findModelUsages(Collection<SModel> scope, Set<SModelReference> modelReferences, Consumer<SModel> consumer, Consumer<SModel> processedConsumer) Finds models referencing the provided set of models in the scope.
 
- 
 
-