C# Class XCore.RecordFilterListProvider

Inheritance: IxCoreColleague
显示文件 Open project: sillsdev/FieldWorks Class Usage Examples

Protected Properties

Property Type Description
m_configuration System.Xml.XmlNode
m_mediator XCore.Mediator

Public Methods

Method Description
Create ( XCore.Mediator mediator, XmlNode configuration ) : RecordFilterListProvider

a factory method for RecordFilterListProvider

GetFilter ( string id ) : object
GetMessageTargets ( ) : IxCoreColleague[]

return an array of all of the objects which should 1) be queried when looking for someone to deliver a message to 2) be potential recipients of a broadcast this is called because we are an IxCoreColleague

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

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

OnAdjustFilterSelection ( object argument ) : bool

May want to update / reload the list based on user selection.

ReLoad ( ) : void

reload the data items

Method Details

Create() static public method

a factory method for RecordFilterListProvider
static public Create ( XCore.Mediator mediator, XmlNode configuration ) : RecordFilterListProvider
mediator XCore.Mediator The mediator.
configuration System.Xml.XmlNode The configuration.
return RecordFilterListProvider

GetFilter() public abstract method

public abstract GetFilter ( string id ) : object
id string
return object

GetMessageTargets() public method

return an array of all of the objects which should 1) be queried when looking for someone to deliver a message to 2) be potential recipients of a broadcast this is called because we are an IxCoreColleague
public GetMessageTargets ( ) : IxCoreColleague[]
return IxCoreColleague[]

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

May want to update / reload the list based on user selection.
public OnAdjustFilterSelection ( object argument ) : bool
argument object
return bool

ReLoad() public method

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

Property Details

m_configuration protected_oe property

protected XmlNode,System.Xml m_configuration
return System.Xml.XmlNode

m_mediator protected_oe property

protected Mediator,XCore m_mediator
return XCore.Mediator