C# Класс SIL.FieldWorks.LexText.Controls.MSAPopupTreeManager

Handles a TreeCombo control (Widgets assembly) for use with MorphoSyntaxAnalysis objects.
Наследование: PopupTreeManager
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
MSAPopupTreeManager ( PopupTree popupTree, SIL.FieldWorks.FDO.FdoCache cache, ICmPossibilityList list, int ws, bool useAbbr, XCore.Mediator mediator, Form parent ) : System

Constructor.

MSAPopupTreeManager ( TreeCombo treeCombo, SIL.FieldWorks.FDO.FdoCache cache, ICmPossibilityList list, int ws, bool useAbbr, XCore.Mediator mediator, Form parent ) : System

Constructor.

MakeTargetMenuItem ( ) : TreeNode

Populate the tree with just ONE menu item, the one that we want to select.

Защищенные методы

Метод Описание
MakeMenuItems ( PopupTree popupTree, int hvoTarget ) : TreeNode

NOTE that this implementation IGNORES hvoTarget and selects the MSA indicated by the sense.

m_treeCombo_AfterSelect ( object sender, TreeViewEventArgs e ) : void

Приватные методы

Метод Описание
AddNewMsa ( ) : bool
AddTreeNodeForMsa ( PopupTree popupTree, ITsStrFactory tsf, IMoMorphSynAnalysis msa ) : HvoTreeNode
ChooseFromMasterCategoryList ( ) : void
CreateEmptyMsa ( ) : void
EditExistingMsa ( ) : bool
LoadStrings ( ) : void
SwitchToEmptyMsa ( ) : void

Описание методов

MSAPopupTreeManager() публичный метод

Constructor.
public MSAPopupTreeManager ( PopupTree popupTree, SIL.FieldWorks.FDO.FdoCache cache, ICmPossibilityList list, int ws, bool useAbbr, XCore.Mediator mediator, Form parent ) : System
popupTree SIL.FieldWorks.Common.Widgets.PopupTree
cache SIL.FieldWorks.FDO.FdoCache
list ICmPossibilityList
ws int
useAbbr bool
mediator XCore.Mediator
parent System.Windows.Forms.Form
Результат System

MSAPopupTreeManager() публичный метод

Constructor.
public MSAPopupTreeManager ( TreeCombo treeCombo, SIL.FieldWorks.FDO.FdoCache cache, ICmPossibilityList list, int ws, bool useAbbr, XCore.Mediator mediator, Form parent ) : System
treeCombo SIL.FieldWorks.Common.Widgets.TreeCombo
cache SIL.FieldWorks.FDO.FdoCache
list ICmPossibilityList
ws int
useAbbr bool
mediator XCore.Mediator
parent System.Windows.Forms.Form
Результат System

MakeMenuItems() защищенный метод

NOTE that this implementation IGNORES hvoTarget and selects the MSA indicated by the sense.
protected MakeMenuItems ( PopupTree popupTree, int hvoTarget ) : TreeNode
popupTree SIL.FieldWorks.Common.Widgets.PopupTree
hvoTarget int
Результат System.Windows.Forms.TreeNode

MakeTargetMenuItem() публичный метод

Populate the tree with just ONE menu item, the one that we want to select.
public MakeTargetMenuItem ( ) : TreeNode
Результат System.Windows.Forms.TreeNode

m_treeCombo_AfterSelect() защищенный метод

protected m_treeCombo_AfterSelect ( object sender, TreeViewEventArgs e ) : void
sender object
e System.Windows.Forms.TreeViewEventArgs
Результат void