Interface ITextSearchReferenceFinderSupplier
- All Superinterfaces:
ITextSearchSupplier
- All Known Implementing Classes:
BslTextSearchReferenceFinderSupplier
Special supplier for references finder by results of full text search.
Contains special methods for generating search strings, filtering search results and creating concrete
references for one
IFile in project.
Users should implement it for creating own references finder logic.-
Method Summary
Modifier and TypeMethodDescriptioncreateReferences(IBmObject bmObject, Collection<TextSearchModelMatch> matches, String name) CreatesITextSearchReferenceResults for concreteIBmObjectif there is no IFile for it and collection ofMatchcorresponding to the this objectcreateReferences(org.eclipse.core.resources.IFile file, Collection<TextSearchFileMatch> matches, String name) CreatesITextSearchReferenceResults for concreteIFilein project and collection ofMatchcorresponding to the fileMethods inherited from interface com._1c.g5.v8.dt.search.core.ITextSearchSupplier
filterSearchResult, getSearchStrings
-
Method Details
-
createReferences
Collection<ITextSearchReferenceResult> createReferences(org.eclipse.core.resources.IFile file, Collection<TextSearchFileMatch> matches, String name) CreatesITextSearchReferenceResults for concreteIFilein project and collection ofMatchcorresponding to the file- Parameters:
file- concreteIFilein project containing search results, cannot benullmatches- collection ofMatchcorresponding to the file, cannot benullname- original name, cannot benull- Returns:
- created
ITextSearchReferenceResults for concreteIFilein project and collection ofMatchcorresponding to the file
-
createReferences
Collection<ITextSearchReferenceResult> createReferences(IBmObject bmObject, Collection<TextSearchModelMatch> matches, String name) CreatesITextSearchReferenceResults for concreteIBmObjectif there is no IFile for it and collection ofMatchcorresponding to the this object- Parameters:
bmObject- concreteIBmObjectcontaining search results, cannot benullmatches- collection ofMatchcorresponding to the file, cannot benullname- original name, cannot benull- Returns:
- created
ITextSearchReferenceResults for concreteIBmObjectin project and collection ofMatchcorresponding to the object
-