C# Class SIL.FieldWorks.Filters.WfiRecordFilterListProvider

Inheritance: XCore.RecordFilterListProvider
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Protected Properties

Property Type Description
m_cache SIL.FieldWorks.FDO.FdoCache
m_filters System.Collections.ArrayList

Public Methods

Method Description
GetFilter ( string id ) : object

Gets the filter.

Init ( XCore.Mediator mediator, XmlNode configuration ) : void

Initialize the filter list. this is called because we are an IxCoreColleague

OnAdjustFilterSelection ( object argument ) : bool

if current filter contains one of our items, then make sure we have a WordSetNullFilter() in our Filters, otherwise remove our WordSetNullFilter(); We also make sure the current filter has a valid set of word references loaded.

ReLoad ( ) : void

reload the data items

WfiRecordFilterListProvider ( ) : System

Initializes a new instance of the T:WfiRecordFilterListProvider class.

Private Methods

Method Description
ContainsOurFilter ( SIL.FieldWorks.Filters.RecordFilter filter, SIL.FieldWorks.Filters.RecordFilter &matchingFilter ) : bool

Method Details

GetFilter() public method

Gets the filter.
public GetFilter ( string id ) : object
id string The id.
return object

Init() public method

Initialize the filter list. this is called because we are an IxCoreColleague
public Init ( XCore.Mediator mediator, XmlNode configuration ) : void
mediator XCore.Mediator The mediator.
configuration System.Xml.XmlNode The configuration.
return void

OnAdjustFilterSelection() public method

if current filter contains one of our items, then make sure we have a WordSetNullFilter() in our Filters, otherwise remove our WordSetNullFilter(); We also make sure the current filter has a valid set of word references loaded.
public OnAdjustFilterSelection ( object argument ) : bool
argument object current filter
return bool

ReLoad() public method

reload the data items
public ReLoad ( ) : void
return void

WfiRecordFilterListProvider() public method

Initializes a new instance of the T:WfiRecordFilterListProvider class.
public WfiRecordFilterListProvider ( ) : System
return System

Property Details

m_cache protected property

protected FdoCache,SIL.FieldWorks.FDO m_cache
return SIL.FieldWorks.FDO.FdoCache

m_filters protected property

protected ArrayList,System.Collections m_filters
return System.Collections.ArrayList