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
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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