C# Class SIL.FieldWorks.LexText.Controls.MSAPopupTreeManager

Handles a TreeCombo control (Widgets assembly) for use with MorphoSyntaxAnalysis objects.
Inheritance: PopupTreeManager
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
AddNewMsa ( ) : bool
AddTreeNodeForMsa ( PopupTree popupTree, ITsStrFactory tsf, IMoMorphSynAnalysis msa ) : HvoTreeNode
ChooseFromMasterCategoryList ( ) : void
CreateEmptyMsa ( ) : void
EditExistingMsa ( ) : bool
LoadStrings ( ) : void
SwitchToEmptyMsa ( ) : void

Method Details

MSAPopupTreeManager() public méthode

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
Résultat System

MSAPopupTreeManager() public méthode

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
Résultat System

MakeMenuItems() protected méthode

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
Résultat System.Windows.Forms.TreeNode

MakeTargetMenuItem() public méthode

Populate the tree with just ONE menu item, the one that we want to select.
public MakeTargetMenuItem ( ) : TreeNode
Résultat System.Windows.Forms.TreeNode

m_treeCombo_AfterSelect() protected méthode

protected m_treeCombo_AfterSelect ( object sender, TreeViewEventArgs e ) : void
sender object
e System.Windows.Forms.TreeViewEventArgs
Résultat void