C# Class SIL.FieldWorks.IText.ConcordanceWordList

This class provides the RecordList for the InterlinearTextsRecordsClerk. It exists to provide a pre-filtered list of Wordforms and to prevent jarring reloads of the Wordlist when the user is indirectly modifying the lists content. (i.e. typing in the baseline pane in the Text & Words\Word Concordance view) The contents of this list are a result of parsing the texts and passing the results through a decorator.
Inheritance: SIL.FieldWorks.XWorks.RecordList
Mostrar archivo Open project: sillsdev/FieldWorks

Public Methods

Method Description
ChangeSorter ( SIL.FieldWorks.Filters.RecordSorter sorter ) : void
ForceReloadList ( ) : void
OnChangeFilter ( SIL.FieldWorks.Filters.FilterChangeEventArgs args ) : void
ReloadList ( ) : void

overridden to prevent reloading the list unless it is specifically desired.

RequestRefresh ( ) : void

provide a means by which the clerk can indicate that we should really refresh our contents. (used for handling events that the clerk processes, like the refresh.

Protected Methods

Method Description
NeedToReloadList ( ) : bool

This is used in situations like switching views. In such cases we should force a reload.

UpdatePrivateList ( ) : bool

Private Methods

Method Description
IsInterestingScripture ( IStText text ) : bool
ParseAndUpdate ( ) : void
ParseInterestingTexts ( ) : void

Parse (if necessary...ParseIsCurrent will be checked to see) the texts we want in the concordance.

RecordList_PropChangedCompleted ( ) : void

Method Details

ChangeSorter() public method

public ChangeSorter ( SIL.FieldWorks.Filters.RecordSorter sorter ) : void
sorter SIL.FieldWorks.Filters.RecordSorter
return void

ForceReloadList() public method

public ForceReloadList ( ) : void
return void

NeedToReloadList() protected method

This is used in situations like switching views. In such cases we should force a reload.
protected NeedToReloadList ( ) : bool
return bool

OnChangeFilter() public method

public OnChangeFilter ( SIL.FieldWorks.Filters.FilterChangeEventArgs args ) : void
args SIL.FieldWorks.Filters.FilterChangeEventArgs
return void

ReloadList() public method

overridden to prevent reloading the list unless it is specifically desired.
public ReloadList ( ) : void
return void

RequestRefresh() public method

provide a means by which the clerk can indicate that we should really refresh our contents. (used for handling events that the clerk processes, like the refresh.
public RequestRefresh ( ) : void
return void

UpdatePrivateList() protected method

protected UpdatePrivateList ( ) : bool
return bool