Class BslFullTextSearchReferenceFinderSupplier
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.bm.ui.refactoring.BslFullTextSearchSupplier
-
- com._1c.g5.v8.dt.bsl.bm.ui.editor.BslFullTextSearchReferenceFinderSupplier
-
- All Implemented Interfaces:
FullTextSearchReferenceFinder.IFullTextSearchReferenceFinderSupplier
,IFullTextSearchSupplier
public class BslFullTextSearchReferenceFinderSupplier extends BslFullTextSearchSupplier implements FullTextSearchReferenceFinder.IFullTextSearchReferenceFinderSupplier
Implementation ofFullTextSearchReferenceFinder.IFullTextSearchReferenceFinderSupplier
for collecting references to Bsl module elements from full text search results
-
-
Field Summary
-
Fields inherited from class com._1c.g5.v8.dt.bsl.bm.ui.refactoring.BslFullTextSearchSupplier
BSL_EXT, resourceSetProvider
-
-
Constructor Summary
Constructors Constructor Description BslFullTextSearchReferenceFinderSupplier(org.eclipse.emf.ecore.EObject sourceObject, IProjectFileSystemSupportProvider fileSystemSupportProvider, BslGrammarAccess bslGrammar, org.eclipse.xtext.ui.refactoring.impl.RefactoringResourceSetProvider resourceSetProvider, DynamicFeatureAccessComputer dynamicFeatureAccessComputer, IBmModelManager manager, IExternalPropertyManagerRegistry propertyManagerRegistry, IV8ProjectManager projectManager, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<FullTextSearchReferenceFinder.IFullTextSearchReferenceResult>
createReferences(IBmObject bmObject, Collection<IDtMatchProvider> matches, String name)
CreatesFullTextSearchReferenceFinder.IFullTextSearchReferenceResult
s for concreteIBmObject
if there is no IFile for it and collection ofDtMatch
corresponding to the this objectCollection<FullTextSearchReferenceFinder.IFullTextSearchReferenceResult>
createReferences(org.eclipse.core.resources.IFile file, Collection<IDtMatchProvider> matches, String name)
CreatesFullTextSearchReferenceFinder.IFullTextSearchReferenceResult
s for concreteIFile
in project and collection ofDtMatch
corresponding to the file-
Methods inherited from class com._1c.g5.v8.dt.bsl.bm.ui.refactoring.BslFullTextSearchSupplier
filterMatcherForCommentAndStringLiteral, filterMatcherForSemanticObject, filterMatchesForFormalParam, filterMatchesFromDcs, filterSearchResult, getIFile, getModule, getSearchStrings, isObjectTextAttribute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.v8.dt.search.core.IFullTextSearchSupplier
filterSearchResult, getSearchStrings, isObjectTextAttribute
-
-
-
-
Constructor Detail
-
BslFullTextSearchReferenceFinderSupplier
@Inject public BslFullTextSearchReferenceFinderSupplier(org.eclipse.emf.ecore.EObject sourceObject, IProjectFileSystemSupportProvider fileSystemSupportProvider, BslGrammarAccess bslGrammar, org.eclipse.xtext.ui.refactoring.impl.RefactoringResourceSetProvider resourceSetProvider, DynamicFeatureAccessComputer dynamicFeatureAccessComputer, IBmModelManager manager, IExternalPropertyManagerRegistry propertyManagerRegistry, IV8ProjectManager projectManager, org.eclipse.xtext.scoping.IGlobalScopeProvider scopeProvider)
Constructor- Parameters:
sourceObject
- the object for finding references for it, can't benull
fileSystemSupportProvider
- actualIProjectFileSystemSupportProvider
, can't benull
bslGrammar
- actualBslGrammarAccess
, can't benull
resourceSetProvider
- specialIResourceSetProvider
for getting actial content of the bsl module, can't benull
dynamicFeatureAccessComputer
- actualDynamicFeatureAccessComputer
, can't benull
manager
- actualIBmModelManager
, can't benull
propertyManagerRegistry
- actualIExternalPropertyManagerRegistry
, can't benull
projectManager
- actualIV8ProjectManager
, can't benull
scopeProvider
- actualIGlobalScopeProvider
for getting actualProperty
scope for filtering matches corresponding to theDynamicFeatureAccess
in Bsl module, cannot benull
-
-
Method Detail
-
createReferences
public Collection<FullTextSearchReferenceFinder.IFullTextSearchReferenceResult> createReferences(org.eclipse.core.resources.IFile file, Collection<IDtMatchProvider> matches, String name)
Description copied from interface:FullTextSearchReferenceFinder.IFullTextSearchReferenceFinderSupplier
CreatesFullTextSearchReferenceFinder.IFullTextSearchReferenceResult
s for concreteIFile
in project and collection ofDtMatch
corresponding to the file- Specified by:
createReferences
in interfaceFullTextSearchReferenceFinder.IFullTextSearchReferenceFinderSupplier
- Parameters:
file
- concreteIFile
in project containing search results, cannot benull
matches
- collection ofDtMatch
corresponding to the file, cannot benull
name
- original name, cannot benull
- Returns:
- created
FullTextSearchReferenceFinder.IFullTextSearchReferenceResult
s for concreteIFile
in project and collection ofDtMatch
corresponding to the file
-
createReferences
public Collection<FullTextSearchReferenceFinder.IFullTextSearchReferenceResult> createReferences(IBmObject bmObject, Collection<IDtMatchProvider> matches, String name)
Description copied from interface:FullTextSearchReferenceFinder.IFullTextSearchReferenceFinderSupplier
CreatesFullTextSearchReferenceFinder.IFullTextSearchReferenceResult
s for concreteIBmObject
if there is no IFile for it and collection ofDtMatch
corresponding to the this object- Specified by:
createReferences
in interfaceFullTextSearchReferenceFinder.IFullTextSearchReferenceFinderSupplier
- Parameters:
bmObject
- concreteIBmObject
containing search results, cannot benull
matches
- collection ofDtMatch
corresponding to the file, cannot benull
name
- original name, cannot benull
- Returns:
- created
FullTextSearchReferenceFinder.IFullTextSearchReferenceResult
s for concreteIBmObject
in project and collection ofDtMatch
corresponding to the object
-
-