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