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

Summary description for InflAffixTemplateControl.
상속: SIL.FieldWorks.Common.Controls.XmlView, XCore.IxCoreColleague
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

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