C# 클래스 SIL.FieldWorks.XWorks.MorphologyEditor.AffixRuleFormulaControl

This class represents an affix process rule formula control. An affix process is represented by a left input empty cell, a right input empty cell, a cell for each input phonological context, and a result cell. The input emtpy cells are simply used to insert new contexts in to a MoAffixProcess. The context cells represent the contexts in the Input field of MoAffixProcess. The data in the result cell consists of the rule mapping objects in the Output field.
상속: RuleFormulaControl
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateSeqCtxt IPhSequenceContext
DisplayColumnOption bool
DisplayIndices IEnumerable
DisplayNoOptsMsg string
DisplayOption bool
DisplayVariableOption bool
GetColumnInsertIndex int
InsertContext int
InsertIntoOutput int
IsFinalLastVariableMapping bool
IsLastVariable bool
IsLastVariableMapping bool
SelectionChanged void
UpdateMappings void

공개 메소드들

메소드 설명
AffixRuleFormulaControl ( XmlNode configurationNode ) : System
Initialize ( SIL.FieldWorks.FDO.FdoCache cache, ICmObject obj, int flid, string fieldName, IPersistenceProvider persistProvider, XCore mediator, string displayNameProperty, string displayWs ) : void
SetMappingFeatures ( ) : void
SetMappingNaturalClass ( ) : void

보호된 메소드들

메소드 설명
GetCell ( SelectionHelper sel, SelectionHelper limit ) : int
GetCellCount ( int cellId ) : int
GetCmObject ( SelectionHelper sel, SelectionHelper limit ) : ICmObject
GetFlid ( int cellId ) : int
GetItemCellIndex ( int cellId, ICmObject obj ) : int
GetLevelInfo ( int cellId, int cellIndex ) : SIL.FieldWorks.Common.COMInterfaces.SelLevInfo[]
GetNextCell ( int cellId ) : int
GetPrevCell ( int cellId ) : int
InsertBdry ( IPhBdryMarker bdry, SelectionHelper sel, int &cellIndex ) : int
InsertColumn ( SelectionHelper sel ) : int
InsertIndex ( int index, SelectionHelper sel, int &cellIndex ) : int
InsertNC ( IPhNaturalClass nc, SelectionHelper sel, int &cellIndex, IPhSimpleContextNC &ctxt ) : int
InsertPhoneme ( IPhPhoneme phoneme, SelectionHelper sel, int &cellIndex ) : int
InsertVariable ( SelectionHelper sel, int &cellIndex ) : int
OnSizeChanged ( EventArgs e ) : void
RemoveFromOutput ( bool forward, SelectionHelper sel, int &index ) : bool
RemoveItems ( SelectionHelper sel, bool forward, int &cellIndex ) : int

비공개 메소드들

메소드 설명
CreateSeqCtxt ( IPhPhonContext ctxt ) : IPhSequenceContext
DisplayColumnOption ( object option ) : bool
DisplayIndices ( ) : IEnumerable
DisplayNoOptsMsg ( ) : string
DisplayOption ( object option ) : bool
DisplayVariableOption ( object option ) : bool
GetColumnInsertIndex ( SelectionHelper sel ) : int
InsertContext ( IPhContextOrVar ctxtOrVar, SelectionHelper sel, int &cellIndex ) : int
InsertIntoOutput ( IMoRuleMapping mapping, SelectionHelper sel ) : int
IsFinalLastVariableMapping ( IMoRuleMapping mapping ) : bool
IsLastVariable ( IPhContextOrVar ctxtOrVar ) : bool
IsLastVariableMapping ( IMoRuleMapping mapping ) : bool
SelectionChanged ( object sender, EventArgs e ) : void
UpdateMappings ( IPhContextOrVar oldCtxtOrVar, IPhContextOrVar newCtxtOrVar ) : void

Updates the context that the mappings point to. This is used when the context changes from a single context to a sequence context.

메소드 상세

AffixRuleFormulaControl() 공개 메소드

public AffixRuleFormulaControl ( XmlNode configurationNode ) : System
configurationNode System.Xml.XmlNode
리턴 System

GetCell() 보호된 메소드

protected GetCell ( SelectionHelper sel, SelectionHelper limit ) : int
sel SIL.FieldWorks.Common.RootSites.SelectionHelper
limit SIL.FieldWorks.Common.RootSites.SelectionHelper
리턴 int

GetCellCount() 보호된 메소드

protected GetCellCount ( int cellId ) : int
cellId int
리턴 int

GetCmObject() 보호된 메소드

protected GetCmObject ( SelectionHelper sel, SelectionHelper limit ) : ICmObject
sel SIL.FieldWorks.Common.RootSites.SelectionHelper
limit SIL.FieldWorks.Common.RootSites.SelectionHelper
리턴 ICmObject

GetFlid() 보호된 메소드

protected GetFlid ( int cellId ) : int
cellId int
리턴 int

GetItemCellIndex() 보호된 메소드

protected GetItemCellIndex ( int cellId, ICmObject obj ) : int
cellId int
obj ICmObject
리턴 int

GetLevelInfo() 보호된 메소드

protected GetLevelInfo ( int cellId, int cellIndex ) : SIL.FieldWorks.Common.COMInterfaces.SelLevInfo[]
cellId int
cellIndex int
리턴 SIL.FieldWorks.Common.COMInterfaces.SelLevInfo[]

GetNextCell() 보호된 메소드

protected GetNextCell ( int cellId ) : int
cellId int
리턴 int

GetPrevCell() 보호된 메소드

protected GetPrevCell ( int cellId ) : int
cellId int
리턴 int

Initialize() 공개 메소드

public Initialize ( SIL.FieldWorks.FDO.FdoCache cache, ICmObject obj, int flid, string fieldName, IPersistenceProvider persistProvider, XCore mediator, string displayNameProperty, string displayWs ) : void
cache SIL.FieldWorks.FDO.FdoCache
obj ICmObject
flid int
fieldName string
persistProvider IPersistenceProvider
mediator XCore
displayNameProperty string
displayWs string
리턴 void

InsertBdry() 보호된 메소드

protected InsertBdry ( IPhBdryMarker bdry, SelectionHelper sel, int &cellIndex ) : int
bdry IPhBdryMarker
sel SIL.FieldWorks.Common.RootSites.SelectionHelper
cellIndex int
리턴 int

InsertColumn() 보호된 메소드

protected InsertColumn ( SelectionHelper sel ) : int
sel SIL.FieldWorks.Common.RootSites.SelectionHelper
리턴 int

InsertIndex() 보호된 메소드

protected InsertIndex ( int index, SelectionHelper sel, int &cellIndex ) : int
index int
sel SIL.FieldWorks.Common.RootSites.SelectionHelper
cellIndex int
리턴 int

InsertNC() 보호된 메소드

protected InsertNC ( IPhNaturalClass nc, SelectionHelper sel, int &cellIndex, IPhSimpleContextNC &ctxt ) : int
nc IPhNaturalClass
sel SIL.FieldWorks.Common.RootSites.SelectionHelper
cellIndex int
ctxt IPhSimpleContextNC
리턴 int

InsertPhoneme() 보호된 메소드

protected InsertPhoneme ( IPhPhoneme phoneme, SelectionHelper sel, int &cellIndex ) : int
phoneme IPhPhoneme
sel SIL.FieldWorks.Common.RootSites.SelectionHelper
cellIndex int
리턴 int

InsertVariable() 보호된 메소드

protected InsertVariable ( SelectionHelper sel, int &cellIndex ) : int
sel SIL.FieldWorks.Common.RootSites.SelectionHelper
cellIndex int
리턴 int

OnSizeChanged() 보호된 메소드

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

RemoveFromOutput() 보호된 메소드

protected RemoveFromOutput ( bool forward, SelectionHelper sel, int &index ) : bool
forward bool
sel SIL.FieldWorks.Common.RootSites.SelectionHelper
index int
리턴 bool

RemoveItems() 보호된 메소드

protected RemoveItems ( SelectionHelper sel, bool forward, int &cellIndex ) : int
sel SIL.FieldWorks.Common.RootSites.SelectionHelper
forward bool
cellIndex int
리턴 int

SetMappingFeatures() 공개 메소드

public SetMappingFeatures ( ) : void
리턴 void

SetMappingNaturalClass() 공개 메소드

public SetMappingNaturalClass ( ) : void
리턴 void