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

Handles a TreeCombo control (Widgets assembly) for use with PartOfSpeech objects.
Inheritance: PopupTreeManager
ファイルを表示 Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
POSPopupTreeManager ( PopupTree popupTree, SIL.FieldWorks.FDO.FdoCache cache, ICmPossibilityList list, int ws, bool useAbbr, XCore.Mediator mediator, Form parent ) : System.Windows.Forms

Constructor.

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

Constructor.

Protected Methods

Method Description
AddAnyItem ( PopupTree popupTree ) : TreeNode

Add an 'Any' item to the menu. If the current target is zero, it will be selected. It is saved as m_kEmptyNode. Also returns the new node.

MakeMenuItems ( PopupTree popupTree, int hvoTarget ) : TreeNode
m_treeCombo_AfterSelect ( object sender, TreeViewEventArgs e ) : void

Method Details

AddAnyItem() protected method

Add an 'Any' item to the menu. If the current target is zero, it will be selected. It is saved as m_kEmptyNode. Also returns the new node.
protected AddAnyItem ( PopupTree popupTree ) : TreeNode
popupTree SIL.FieldWorks.Common.Widgets.PopupTree
return System.Windows.Forms.TreeNode

MakeMenuItems() protected method

protected MakeMenuItems ( PopupTree popupTree, int hvoTarget ) : TreeNode
popupTree SIL.FieldWorks.Common.Widgets.PopupTree
hvoTarget int
return System.Windows.Forms.TreeNode

POSPopupTreeManager() public method

Constructor.
public POSPopupTreeManager ( PopupTree popupTree, SIL.FieldWorks.FDO.FdoCache cache, ICmPossibilityList list, int ws, bool useAbbr, XCore.Mediator mediator, Form parent ) : System.Windows.Forms
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
return System.Windows.Forms

POSPopupTreeManager() public method

Constructor.
public POSPopupTreeManager ( TreeCombo treeCombo, SIL.FieldWorks.FDO.FdoCache cache, ICmPossibilityList list, int ws, bool useAbbr, XCore.Mediator mediator, Form parent ) : System.Windows.Forms
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
return System.Windows.Forms

m_treeCombo_AfterSelect() protected method

protected m_treeCombo_AfterSelect ( object sender, TreeViewEventArgs e ) : void
sender object
e System.Windows.Forms.TreeViewEventArgs
return void