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

This view constructor is intended to be extended by particular rule formula view constructors. It handles the display of phonological contexts, such as PhSequenceContext, PhIterationContext, PhSimpleContextNC, PhSimpleContextSeg, PhSimpleContextNC, etc., for rule formulas.
상속: SIL.FieldWorks.LexText.Controls.PatternVcBase
파일 보기 프로젝트 열기: sillsdev/FieldWorks

보호된 프로퍼티들

프로퍼티 타입 설명
m_infinity ITsString
m_x ITsString

공개 메소드들

메소드 설명
Display ( IVwEnv vwenv, int hvo, int frag ) : void
DisplayIterCtxt ( int numLines, IVwEnv vwenv ) : void
DisplayVariant ( IVwEnv vwenv, int tag, int frag ) : ITsString
UpdateProp ( IVwSelection vwsel, int hvo, int tag, int frag, ITsString tssVal ) : ITsString

보호된 메소드들

메소드 설명
GetMaxNumLines ( ) : int

Gets the maximum number of lines for context cells.

GetNumLines ( IEnumerable seq ) : int

Gets the maximum number of lines to display the specified sequence of simple contexts.

GetNumLines ( IPhContextOrVar ctxtOrVar ) : int

Gets the number of lines needed to display the specified context or variable.

GetStrWidth ( ITsString tss, ITsTextProps props, IVwEnv vwenv ) : int
GetVarIndex ( IPhFeatureConstraint var ) : int

Gets the index of the specified feature constraint. This is used to ensure that the same variable is used for a feature constraint across the entire rule.

GetWidth ( IPhContextOrVar ctxtOrVar, IVwEnv vwenv ) : int

Gets the width of the specified context or variable.

RuleFormulaVcBase ( SIL.FieldWorks.FDO.FdoCache cache, XCore mediator ) : System

비공개 메소드들

메소드 설명
CreateFeatureLine ( IFsClosedValue value ) : ITsString
CreateVariableLine ( IPhFeatureConstraint var, bool polarity ) : ITsString
GetIterCtxtWidth ( IPhIterationContext ctxt, IVwEnv vwenv ) : int
GetMinMaxWidth ( IPhIterationContext ctxt, ITsTextProps props, IVwEnv vwenv ) : int
GetNCCtxtWidth ( IPhSimpleContextNC ctxt, IVwEnv vwenv ) : int
GetNCFeatsWidth ( IPhSimpleContextNC ctxt, IVwEnv vwenv ) : int
GetSimpleCtxtWidth ( IPhSimpleContext ctxt, IVwEnv vwenv ) : int
GetTermUnitWidth ( IPhTerminalUnit tu, IVwEnv vwenv ) : int
GetVariablesWidth ( IPhSimpleContextNC ctxt, IVwEnv vwenv, bool polarity ) : int

메소드 상세

Display() 공개 메소드

public Display ( IVwEnv vwenv, int hvo, int frag ) : void
vwenv IVwEnv
hvo int
frag int
리턴 void

DisplayIterCtxt() 공개 메소드

public DisplayIterCtxt ( int numLines, IVwEnv vwenv ) : void
numLines int
vwenv IVwEnv
리턴 void

DisplayVariant() 공개 메소드

public DisplayVariant ( IVwEnv vwenv, int tag, int frag ) : ITsString
vwenv IVwEnv
tag int
frag int
리턴 ITsString

GetMaxNumLines() 보호된 추상적인 메소드

Gets the maximum number of lines for context cells.
protected abstract GetMaxNumLines ( ) : int
리턴 int

GetNumLines() 보호된 메소드

Gets the maximum number of lines to display the specified sequence of simple contexts.
protected GetNumLines ( IEnumerable seq ) : int
seq IEnumerable The sequence.
리턴 int

GetNumLines() 보호된 메소드

Gets the number of lines needed to display the specified context or variable.
protected GetNumLines ( IPhContextOrVar ctxtOrVar ) : int
ctxtOrVar IPhContextOrVar The context or variable.
리턴 int

GetStrWidth() 보호된 메소드

protected GetStrWidth ( ITsString tss, ITsTextProps props, IVwEnv vwenv ) : int
tss ITsString
props ITsTextProps
vwenv IVwEnv
리턴 int

GetVarIndex() 보호된 추상적인 메소드

Gets the index of the specified feature constraint. This is used to ensure that the same variable is used for a feature constraint across the entire rule.
protected abstract GetVarIndex ( IPhFeatureConstraint var ) : int
var IPhFeatureConstraint The variable.
리턴 int

GetWidth() 보호된 메소드

Gets the width of the specified context or variable.
protected GetWidth ( IPhContextOrVar ctxtOrVar, IVwEnv vwenv ) : int
ctxtOrVar IPhContextOrVar The context or variable.
vwenv IVwEnv The vwenv.
리턴 int

RuleFormulaVcBase() 보호된 메소드

protected RuleFormulaVcBase ( SIL.FieldWorks.FDO.FdoCache cache, XCore mediator ) : System
cache SIL.FieldWorks.FDO.FdoCache
mediator XCore
리턴 System

UpdateProp() 공개 메소드

public UpdateProp ( IVwSelection vwsel, int hvo, int tag, int frag, ITsString tssVal ) : ITsString
vwsel IVwSelection
hvo int
tag int
frag int
tssVal ITsString
리턴 ITsString

프로퍼티 상세

m_infinity 보호되어 있는 프로퍼티

protected ITsString m_infinity
리턴 ITsString

m_x 보호되어 있는 프로퍼티

protected ITsString m_x
리턴 ITsString