C# 클래스 SIL.FieldWorks.FdoUi.WfiWordformUi

WfiWordformUi provides UI-specific methods for the WfiWordformUi class.
상속: CmObjectUi
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
CanDelete ( string &cannotDeleteMsg ) : bool
UpdateWordsToolDisplay ( int curDisplayedWfId, bool updateUserCount, bool updateUserStatusIcon, bool updateParserCount, bool updateParserStatusIcon ) : void

This will recache some information related to a wordform and its analyses, and call PropChanged to get the display to refresh.

It makes no sense to call this method if the active area isn't the Words area, and the tool isn't Analyses.

WfiWordformUi ( ICmObject obj ) : System.Diagnostics

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

보호된 메소드들

메소드 설명
IsAcceptableContextToJump ( string toolCurrent, string toolTarget ) : bool
OnFindInDictionary ( object args ) : bool

This method implements the FindInDictionary menu item. It is called using reflection by xCore, not directly.

비공개 메소드들

메소드 설명
WfiWordformUi ( ) : System.Diagnostics

메소드 상세

CanDelete() 공개 메소드

public CanDelete ( string &cannotDeleteMsg ) : bool
cannotDeleteMsg string
리턴 bool

IsAcceptableContextToJump() 보호된 메소드

protected IsAcceptableContextToJump ( string toolCurrent, string toolTarget ) : bool
toolCurrent string
toolTarget string
리턴 bool

OnFindInDictionary() 보호된 메소드

This method implements the FindInDictionary menu item. It is called using reflection by xCore, not directly.
protected OnFindInDictionary ( object args ) : bool
args object
리턴 bool

UpdateWordsToolDisplay() 공개 메소드

This will recache some information related to a wordform and its analyses, and call PropChanged to get the display to refresh.
It makes no sense to call this method if the active area isn't the Words area, and the tool isn't Analyses.
public UpdateWordsToolDisplay ( int curDisplayedWfId, bool updateUserCount, bool updateUserStatusIcon, bool updateParserCount, bool updateParserStatusIcon ) : void
curDisplayedWfId int
updateUserCount bool
updateUserStatusIcon bool
updateParserCount bool
updateParserStatusIcon bool
리턴 void

WfiWordformUi() 공개 메소드

Create one. Argument must be a WfiWordform. 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 WfiWordformUi ( ICmObject obj ) : System.Diagnostics
obj ICmObject
리턴 System.Diagnostics