C# Класс SIL.FieldWorks.XWorks.MorphologyEditor.InflAffixTemplateControl

Summary description for InflAffixTemplateControl.
Наследование: SIL.FieldWorks.Common.Controls.XmlView, XCore.IxCoreColleague
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AddInflAffixMsaToSlot void
DetermineMsaContextMenuItemLabel ITsString
DetermineSlotContextMenuItemLabel ITsString
DoReplaceToken ITsString
DoReplaceToken ITsString
DoXXXReplace ITsString
DoXXXReplace ITsString
DoYYYReplace ITsString
EnsureNewMsaHasSense void
EntryHasAffixThatMightBeInSlot bool
FindMsaInSlots string
FindParentSlice Slice
FindSlotNameOfMsa string
FixSlotName void
GetAffixSequenceContainingSlot int
GetAllUnnamedSlotValues List
GetHighestPOS IPartOfSpeech
GetIsPrefixSlot bool
GetNextUnnamedSlotName string
HandleInsert void
HandleInsertAroundSlot void
HandleInsertAroundStem void
HandleMove void
IsRTL bool
MakeChooserWithExtantMsas SIL.FieldWorks.Common.Framework.DetailControls.SimpleListChooser
MakeChooserWithExtantSlots SIL.FieldWorks.Common.Framework.DetailControls.SimpleListChooser
MenuLabelForInflAffixTemplateHelp ITsString
MenuLabelForInflTemplateAddInflAffixMsa ITsString
MenuLabelForInflTemplateAffixSlotOperation ITsString
MenuLabelForInflTemplateMoveSlot ITsString
MenuLabelForInflTemplateRemoveInflAffixMsa ITsString
MenuLabelForJumpToTool ITsString
OtherInflAffixMsasExist bool
SetEnabledIfFindSlotInSequence bool
TsSlotName ITsString
TsSlotNameOfMsa ITsString

Открытые методы

Метод Описание
InflAffixTemplateControl ( SIL.FieldWorks.FDO.FdoCache cache, int hvoRoot, XmlNode xnSpec, SIL.Utils.StringTable stringTable ) : System
OnInflAffixTemplateHelp ( object cmd ) : bool
OnInflTemplateAddInflAffixMsa ( object cmd ) : bool
OnInflTemplateInsertSlotAfter ( object cmd ) : bool
OnInflTemplateInsertSlotBefore ( object cmd ) : bool
OnInflTemplateMoveSlotLeft ( object cmd ) : bool
OnInflTemplateMoveSlotRight ( object cmd ) : bool
OnInflTemplateRemoveInflAffixMsa ( object cmd ) : bool
OnInflTemplateRemoveSlot ( object cmd ) : bool
OnInflTemplateToggleSlotOptionality ( object cmd ) : bool
OnJumpToTool ( object commandObject ) : bool
SetContextMenuHandler ( InflAffixTemplateEventHandler handler ) : void

Set the handler which will be invoked when the user right-clicks on the Inflectional Affix Template slice, or in some other way invokes the context menu.

SetStringTableValues ( SIL.Utils.StringTable stringTable ) : void
ShowSliceContextMenu ( object sender, SIL.FieldWorks.XWorks.MorphologyEditor.InflAffixTemplateEventArgs e ) : void

Invoked by a slice when the user does something to bring up a context menu

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void
OnLostFocus ( EventArgs e ) : void

When focus is lost, stop filtering messages to catch characters

OnMouseUp ( MouseEventArgs e ) : void

Intercepts mouse clicks on Command Icons and translates them into right mouse clicks

OnRightMouseUp ( Point pt, Rectangle rcSrcRoot, Rectangle rcDstRoot ) : bool
OnValidating ( System e ) : void

Приватные методы

Метод Описание
AddInflAffixMsaToSlot ( ICmObject obj, IMoInflAffixSlot slot ) : void
DetermineMsaContextMenuItemLabel ( string sLabel ) : ITsString
DetermineSlotContextMenuItemLabel ( string sLabel ) : ITsString

DoReplaceToken ( ITsString tssSource, ITsString tssReplace, string sToken ) : ITsString
DoReplaceToken ( string sSource, ITsString tssReplace, string sToken ) : ITsString
DoXXXReplace ( ITsString tssSource, ITsString tssReplace ) : ITsString
DoXXXReplace ( string sSource, ITsString tssReplace ) : ITsString
DoYYYReplace ( string sSource, ITsString tssReplace ) : ITsString
EnsureNewMsaHasSense ( ILexEntry lex, IMoInflAffMsa newMsa ) : void
EntryHasAffixThatMightBeInSlot ( ILexEntry lex, bool fIsPrefixSlot ) : bool

Determine if the lex entry can appear in the prefix/suffix slot

FindMsaInSlots ( List listSlotHvos ) : string
FindParentSlice ( ) : Slice
FindSlotNameOfMsa ( int hvoSlot ) : string
FixSlotName ( IMoInflAffixSlot slot ) : void

Fix the name of any slot that is still "Type slot name here".

GetAffixSequenceContainingSlot ( IMoInflAffixSlot slot, IFdoReferenceSequence &seq, int &index ) : int
GetAllUnnamedSlotValues ( ) : List
GetHighestPOS ( IPartOfSpeech pos, string &sTopPOS ) : IPartOfSpeech
GetIsPrefixSlot ( bool fBefore ) : bool
GetNextUnnamedSlotName ( ) : string
HandleInsert ( bool fBefore ) : void
HandleInsertAroundSlot ( bool fBefore, IMoInflAffixSlot chosenSlot, int &flid, int &ihvo ) : void
HandleInsertAroundStem ( bool fBefore, IMoInflAffixSlot chosenSlot, int &flid, int &ihvo ) : void
HandleMove ( Command cmd, bool bLeft ) : void
IsRTL ( ) : bool
MakeChooserWithExtantMsas ( IMoInflAffixSlot slot, XCore cmd ) : SIL.FieldWorks.Common.Framework.DetailControls.SimpleListChooser
MakeChooserWithExtantSlots ( bool fIsPrefixSlot ) : SIL.FieldWorks.Common.Framework.DetailControls.SimpleListChooser
MenuLabelForInflAffixTemplateHelp ( string sLabel ) : ITsString

MenuLabelForInflTemplateAddInflAffixMsa ( string sLabel ) : ITsString

MenuLabelForInflTemplateAffixSlotOperation ( string sLabel, bool &fEnabled ) : ITsString

MenuLabelForInflTemplateMoveSlot ( string sLabel, bool fMoveLeft, bool &fEnabled ) : ITsString

MenuLabelForInflTemplateRemoveInflAffixMsa ( string sLabel ) : ITsString

MenuLabelForJumpToTool ( string sLabel ) : ITsString

OtherInflAffixMsasExist ( ILexEntry lex, IMoInflAffMsa inflMsa ) : bool
SetEnabledIfFindSlotInSequence ( IFdoReferenceSequence slots, bool &fEnabled, bool bIsLeft ) : bool
TsSlotName ( IMoInflAffixSlot slot ) : ITsString
TsSlotNameOfMsa ( IMoInflAffMsa msa ) : ITsString

Описание методов

Dispose() защищенный метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

InflAffixTemplateControl() публичный метод

public InflAffixTemplateControl ( SIL.FieldWorks.FDO.FdoCache cache, int hvoRoot, XmlNode xnSpec, SIL.Utils.StringTable stringTable ) : System
cache SIL.FieldWorks.FDO.FdoCache
hvoRoot int
xnSpec System.Xml.XmlNode
stringTable SIL.Utils.StringTable
Результат System

OnInflAffixTemplateHelp() публичный метод

public OnInflAffixTemplateHelp ( object cmd ) : bool
cmd object
Результат bool

OnInflTemplateAddInflAffixMsa() публичный метод

public OnInflTemplateAddInflAffixMsa ( object cmd ) : bool
cmd object
Результат bool

OnInflTemplateInsertSlotAfter() публичный метод

public OnInflTemplateInsertSlotAfter ( object cmd ) : bool
cmd object
Результат bool

OnInflTemplateInsertSlotBefore() публичный метод

public OnInflTemplateInsertSlotBefore ( object cmd ) : bool
cmd object
Результат bool

OnInflTemplateMoveSlotLeft() публичный метод

public OnInflTemplateMoveSlotLeft ( object cmd ) : bool
cmd object
Результат bool

OnInflTemplateMoveSlotRight() публичный метод

public OnInflTemplateMoveSlotRight ( object cmd ) : bool
cmd object
Результат bool

OnInflTemplateRemoveInflAffixMsa() публичный метод

public OnInflTemplateRemoveInflAffixMsa ( object cmd ) : bool
cmd object
Результат bool

OnInflTemplateRemoveSlot() публичный метод

public OnInflTemplateRemoveSlot ( object cmd ) : bool
cmd object
Результат bool

OnInflTemplateToggleSlotOptionality() публичный метод

public OnInflTemplateToggleSlotOptionality ( object cmd ) : bool
cmd object
Результат bool

OnJumpToTool() публичный метод

public OnJumpToTool ( object commandObject ) : bool
commandObject object
Результат bool

OnLostFocus() защищенный метод

When focus is lost, stop filtering messages to catch characters
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
Результат void

OnMouseUp() защищенный метод

Intercepts mouse clicks on Command Icons and translates them into right mouse clicks
protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void

OnRightMouseUp() защищенный метод

protected OnRightMouseUp ( Point pt, Rectangle rcSrcRoot, Rectangle rcDstRoot ) : bool
pt Point
rcSrcRoot System.Drawing.Rectangle
rcDstRoot System.Drawing.Rectangle
Результат bool

OnValidating() защищенный метод

protected OnValidating ( System e ) : void
e System
Результат void

SetContextMenuHandler() публичный метод

Set the handler which will be invoked when the user right-clicks on the Inflectional Affix Template slice, or in some other way invokes the context menu.
public SetContextMenuHandler ( InflAffixTemplateEventHandler handler ) : void
handler InflAffixTemplateEventHandler
Результат void

SetStringTableValues() публичный метод

public SetStringTableValues ( SIL.Utils.StringTable stringTable ) : void
stringTable SIL.Utils.StringTable
Результат void

ShowSliceContextMenu() публичный метод

Invoked by a slice when the user does something to bring up a context menu
public ShowSliceContextMenu ( object sender, SIL.FieldWorks.XWorks.MorphologyEditor.InflAffixTemplateEventArgs e ) : void
sender object
e SIL.FieldWorks.XWorks.MorphologyEditor.InflAffixTemplateEventArgs
Результат void