Class NavigatorSearchFilterWithHistory
- java.lang.Object
-
- org.eclipse.jface.viewers.ViewerFilter
-
- com._1c.g5.v8.dt.common.ui.controls.search.SearchFilterWithHistory
-
- com._1c.g5.v8.dt.md.ui.navigator.filters.NavigatorSearchFilterWithHistory
-
public class NavigatorSearchFilterWithHistory extends SearchFilterWithHistory
Filters navigator contents by search pattern with plugable history support.
-
-
Constructor Summary
Constructors Constructor Description NavigatorSearchFilterWithHistory(Collection<org.eclipse.emf.ecore.EClass> eClasses, boolean searchBySynonym, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, IModelObjectTreeSearchEngine searchEngine)
Creates a new instance ofNavigatorSearchFilterWithHistory
.NavigatorSearchFilterWithHistory(Collection<org.eclipse.emf.ecore.EClass> eClasses, ISearchHistory searchHistory, boolean searchBySynonym, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, IModelObjectTreeSearchEngine searchEngine)
Creates a new instance ofNavigatorSearchFilterWithHistory
.NavigatorSearchFilterWithHistory(Collection<org.eclipse.emf.ecore.EClass> eClasses, Collection<org.eclipse.emf.ecore.EClass> eClassesFilterBy, boolean searchBySynonym, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, IModelObjectTreeSearchEngine searchEngine)
Creates a new instance ofNavigatorSearchFilterWithHistory
.NavigatorSearchFilterWithHistory(Collection<org.eclipse.emf.ecore.EClass> eClasses, Collection<org.eclipse.emf.ecore.EClass> eClassesFilterBy, ISearchHistory searchHistory, boolean searchBySynonym, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, IModelObjectTreeSearchEngine searchEngine)
Creates a new instance ofNavigatorSearchFilterWithHistory
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Disposes this search filter.boolean
select(Viewer viewer, Object parentElement, Object element)
-
Methods inherited from class com._1c.g5.v8.dt.common.ui.controls.search.SearchFilterWithHistory
getColumnIndex, getSearchHistory
-
Methods inherited from class org.eclipse.jface.viewers.ViewerFilter
filter, filter, isFilterProperty
-
-
-
-
Constructor Detail
-
NavigatorSearchFilterWithHistory
public NavigatorSearchFilterWithHistory(Collection<org.eclipse.emf.ecore.EClass> eClasses, boolean searchBySynonym, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, IModelObjectTreeSearchEngine searchEngine)
Creates a new instance ofNavigatorSearchFilterWithHistory
.- Parameters:
eClasses
- the collection ofEClass
'es to search among, can not benull
searchBySynonym
- defines whether to search by synonym (getSynonym()
)resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- the qualified name provider, can not benull
searchEngine
- the md object tree search engine, can not benull
-
NavigatorSearchFilterWithHistory
public NavigatorSearchFilterWithHistory(Collection<org.eclipse.emf.ecore.EClass> eClasses, Collection<org.eclipse.emf.ecore.EClass> eClassesFilterBy, boolean searchBySynonym, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, IModelObjectTreeSearchEngine searchEngine)
Creates a new instance ofNavigatorSearchFilterWithHistory
.- Parameters:
eClasses
- the collection ofEClass
'es to search among, can not benull
eClassesFilterBy
- the collection ofEClass
'es to filter the search trie by, can benull
searchBySynonym
- defines whether to search by synonym (getSynonym()
)resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- the qualified name provider, can not benull
searchEngine
- the md object tree search engine, can not benull
-
NavigatorSearchFilterWithHistory
public NavigatorSearchFilterWithHistory(Collection<org.eclipse.emf.ecore.EClass> eClasses, ISearchHistory searchHistory, boolean searchBySynonym, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, IModelObjectTreeSearchEngine searchEngine)
Creates a new instance ofNavigatorSearchFilterWithHistory
.- Parameters:
eClasses
- the collection ofEClass
'es to search among, can not benull
searchHistory
- the filter search history, can not benull
searchBySynonym
- defines whether to search by synonym (getSynonym()
)resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- the qualified name provider, can not benull
searchEngine
- the md object tree search engine, can not benull
-
NavigatorSearchFilterWithHistory
public NavigatorSearchFilterWithHistory(Collection<org.eclipse.emf.ecore.EClass> eClasses, Collection<org.eclipse.emf.ecore.EClass> eClassesFilterBy, ISearchHistory searchHistory, boolean searchBySynonym, IResourceLookup resourceLookup, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider, IModelObjectTreeSearchEngine searchEngine)
Creates a new instance ofNavigatorSearchFilterWithHistory
.- Parameters:
eClasses
- the collection ofEClass
'es to search among, can not benull
eClassesFilterBy
- the collection ofEClass
'es to filter the search trie by, can benull
searchHistory
- the filter search history, can not benull
searchBySynonym
- defines whether to search by synonym (getSynonym()
)resourceLookup
- the resource lookup, can not benull
qualifiedNameProvider
- the qualified name provider, can not benull
searchEngine
- the md object tree search engine, can not benull
-
-
Method Detail
-
select
public boolean select(Viewer viewer, Object parentElement, Object element)
- Specified by:
select
in classViewerFilter
-
dispose
public void dispose()
Description copied from class:SearchFilterWithHistory
Disposes this search filter.- Overrides:
dispose
in classSearchFilterWithHistory
-
-