C# Class SIL.FieldWorks.FdoUi.PartOfSpeechUi

PartOfSpeechUi provides UI-specific methods for the PartOfSpeech class.
Inheritance: CmPossibilityUi
显示文件 Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
CreateNewUiObject ( XCore.Mediator mediator, int classId, int hvoOwner, int flid, int insertionPosition ) : PartOfSpeechUi

Handle the context menu for inserting a POS.

OnDisplayJumpToTool ( object commandObject, XCore &display ) : bool

Override to handle case of improper menu in the reversal cat list tool.

PartOfSpeechUi ( ICmObject obj ) : System

Create one. Argument must be a PartOfSpeech. Note that declaring it to be forces us to just do a cast in every case of MakeUi, which is passed an obj anyway.

Private Methods

Method Description
PartOfSpeechUi ( ) : System

Method Details

CreateNewUiObject() public static method

Handle the context menu for inserting a POS.
public static CreateNewUiObject ( XCore.Mediator mediator, int classId, int hvoOwner, int flid, int insertionPosition ) : PartOfSpeechUi
mediator XCore.Mediator
classId int
hvoOwner int
flid int
insertionPosition int
return PartOfSpeechUi

OnDisplayJumpToTool() public method

Override to handle case of improper menu in the reversal cat list tool.
public OnDisplayJumpToTool ( object commandObject, XCore &display ) : bool
commandObject object
display XCore
return bool

PartOfSpeechUi() public method

Create one. Argument must be a PartOfSpeech. Note that declaring it to be forces us to just do a cast in every case of MakeUi, which is passed an obj anyway.
public PartOfSpeechUi ( ICmObject obj ) : System
obj ICmObject
return System