Class SearchFilterWithHistory
- java.lang.Object
-
- com._1c.g5.v8.dt.rights.ui.sections.ItemFilter
-
- com._1c.g5.v8.dt.rights.ui.sections.SearchFilterWithHistory
-
public class SearchFilterWithHistory extends ItemFilter
The search filter with history to use in the search box for objects and roles search.
-
-
Constructor Summary
Constructors Constructor Description SearchFilterWithHistory(IResourceLookup resourceLookup, IBmEmfIndexManager bmEmfIndexManager, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider)
Instantiates a new search filter with column label provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Cleans all stored calculated data to perform search quickly.ISearchHistory
getSearchHistory()
Gets the filter search history.boolean
select(TreeViewerItem item)
Returns whether the given item makes it through this filter.-
Methods inherited from class com._1c.g5.v8.dt.rights.ui.sections.ItemFilter
filter
-
-
-
-
Constructor Detail
-
SearchFilterWithHistory
public SearchFilterWithHistory(IResourceLookup resourceLookup, IBmEmfIndexManager bmEmfIndexManager, org.eclipse.xtext.naming.IQualifiedNameProvider qualifiedNameProvider)
Instantiates a new search filter with column label provider.- Parameters:
resourceLookup
- the resource lookup, can not benull
bmEmfIndexManager
- the Emf index manager, can not benull
qualifiedNameProvider
- the qualified name provider, can not benull
-
-
Method Detail
-
select
public boolean select(TreeViewerItem item)
Description copied from class:ItemFilter
Returns whether the given item makes it through this filter.- Specified by:
select
in classItemFilter
- Parameters:
item
- the given item, can not benull
- Returns:
true
if the item is included in the filtered set andfalse
otherwise
-
getSearchHistory
public ISearchHistory getSearchHistory()
Gets the filter search history. Override it if you want to change the filter search history.- Returns:
- the filter search history, can not be
null
-
dispose
public void dispose()
Cleans all stored calculated data to perform search quickly.
-
-