C# Класс SIL.FieldWorks.FdoUi.WfiWordformUi

WfiWordformUi provides UI-specific methods for the WfiWordformUi class.
Наследование: CmObjectUi
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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