C# Class SIL.FieldWorks.XWorks.MorphologyEditor.RespellerDlgListener

XCore listener for the Respeller dlg.
Inheritance: XCore.DlgListenerBase
Mostra file Open project: sillsdev/FieldWorks

Private Properties

Property Type Description
ActiveWord ITsString
LaunchRespellerDlgOnWord void

Public Methods

Method Description
OnDisplayLaunchRespellerDlg ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool

Determine whether to show (and enable) the command to launch the respeller dialog.

OnLaunchRespellerDlg ( object argument ) : bool

Launch the Respeller dlg.

Private Methods

Method Description
ActiveWord ( ) : ITsString

Try to find a WfiWordform object corresponding the the focus selection. If successful return its guid, otherwise, return Guid.Empty.

LaunchRespellerDlgOnWord ( ITsString tss ) : void

Method Details

OnDisplayLaunchRespellerDlg() public method

Determine whether to show (and enable) the command to launch the respeller dialog.
public OnDisplayLaunchRespellerDlg ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
return bool

OnLaunchRespellerDlg() public method

Launch the Respeller dlg.
public OnLaunchRespellerDlg ( object argument ) : bool
argument object The xCore Command object.
return bool