Interface ITextSearchReferenceFinderSupplier
-
- All Superinterfaces:
ITextSearchSupplier
- All Known Implementing Classes:
BslTextSearchReferenceFinderSupplier
public interface ITextSearchReferenceFinderSupplier extends ITextSearchSupplier
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 oneIFile
in project. Users should implement it for creating own references finder logic.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<ITextSearchReferenceResult>
createReferences(IBmObject bmObject, Collection<TextSearchModelMatch> matches, String name)
CreatesITextSearchReferenceResult
s for concreteIBmObject
if there is no IFile for it and collection ofMatch
corresponding to the this objectCollection<ITextSearchReferenceResult>
createReferences(org.eclipse.core.resources.IFile file, Collection<TextSearchFileMatch> matches, String name)
CreatesITextSearchReferenceResult
s for concreteIFile
in project and collection ofMatch
corresponding to the file-
Methods inherited from interface com._1c.g5.v8.dt.search.core.ITextSearchSupplier
filterSearchResult, getSearchStrings
-
-
-
-
Method Detail
-
createReferences
Collection<ITextSearchReferenceResult> createReferences(org.eclipse.core.resources.IFile file, Collection<TextSearchFileMatch> matches, String name)
CreatesITextSearchReferenceResult
s for concreteIFile
in project and collection ofMatch
corresponding to the file- Parameters:
file
- concreteIFile
in project containing search results, cannot benull
matches
- collection ofMatch
corresponding to the file, cannot benull
name
- original name, cannot benull
- Returns:
- created
ITextSearchReferenceResult
s for concreteIFile
in project and collection ofMatch
corresponding to the file
-
createReferences
Collection<ITextSearchReferenceResult> createReferences(IBmObject bmObject, Collection<TextSearchModelMatch> matches, String name)
CreatesITextSearchReferenceResult
s for concreteIBmObject
if there is no IFile for it and collection ofMatch
corresponding to the this object- Parameters:
bmObject
- concreteIBmObject
containing search results, cannot benull
matches
- collection ofMatch
corresponding to the file, cannot benull
name
- original name, cannot benull
- Returns:
- created
ITextSearchReferenceResult
s for concreteIBmObject
in project and collection ofMatch
corresponding to the object
-
-