C# Class SIL.FieldWorks.Discourse.AdvancedMTDialogLogic

Inheritance: IDisposable
Exibir arquivo Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property Type Description
CacheWordGroupOccurrencesForRibbon void
CollectAllColumnsToCombo void
CollectColumnsToCombo void
CollectRowsToCombo int
GetColumnChoices ICmPossibility[]
Init void
SetAffectedWordGroups void
SetRibbon void

Public Methods

Method Description
AdvancedMTDialogLogic ( SIL.FieldWorks.FDO.FdoCache cache, bool fPrepose, CChartSentenceElements ccSentElem ) : System
Dispose ( ) : void

Protected Methods

Method Description
Dispose ( bool fDisposing ) : void

Private Methods

Method Description
CacheWordGroupOccurrencesForRibbon ( ) : void
CollectAllColumnsToCombo ( ) : void

Collect all columns from hvo array and create List of ColumnMenuItems for ComboBox.

CollectColumnsToCombo ( ICmPossibility colArray ) : void

Create a List of ColumnMenuItems for ComboBox based on an array of column hvos.

CollectRowsToCombo ( ) : int

Collect the eligible rows (as passed in by the Chart Logic) into the ComboBox items array. Returns the number of rows collected.

GetColumnChoices ( IConstChartRow row ) : ICmPossibility[]

Figure out what columns should be available, given a selected row.

Init ( ) : void
SetAffectedWordGroups ( SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence selectedWords ) : void

Takes the list of AffectedWordGroups fed into the dialog and the list of user selected words and updates the AffectedWordGroups list in the parameter object

SetRibbon ( ) : void

Sets the text ribbon to display the occurrences in the current WordGroup.

Method Details

AdvancedMTDialogLogic() public method

public AdvancedMTDialogLogic ( SIL.FieldWorks.FDO.FdoCache cache, bool fPrepose, CChartSentenceElements ccSentElem ) : System
cache SIL.FieldWorks.FDO.FdoCache
fPrepose bool
ccSentElem CChartSentenceElements
return System

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool fDisposing ) : void
fDisposing bool
return void