C# Class SIL.FieldWorks.XWorks.LexEd.ReversalIndexEntryMenuHandler

LexEntryMenuHandler inherits from DTMenuHandler and adds some special smarts. this class would normally be constructed by the factory method on DTMenuHandler, when the XML configuration of the RecordEditView specifies this class. This is an IxCoreColleague, so it gets a chance to modify the display characteristics of the menu just before the menu is displayed.
Inheritance: DTMenuHandler
Datei anzeigen Open project: sillsdev/FieldWorks

Private Properties

Property Type Description
AddEntryAndChildrenRecursively void
OnDisplayMoveReversalindexEntry bool
OnDisplayPromoteReversalindexEntry bool
OnMoveReversalindexEntry bool
OnPromoteReversalindexEntry bool

Public Methods

Method Description
OnDisplayDataTreeMerge ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool

decide whether to enable this tree delete Menu Item

ReversalIndexEntryMenuHandler ( ) : System

Private Methods

Method Description
AddEntryAndChildrenRecursively ( ICollection hvos, IReversalIndexEntry entry ) : void
OnDisplayMoveReversalindexEntry ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
OnDisplayPromoteReversalindexEntry ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
OnMoveReversalindexEntry ( object cmd ) : bool
OnPromoteReversalindexEntry ( object cmd ) : bool

Method Details

OnDisplayDataTreeMerge() public method

decide whether to enable this tree delete Menu Item
public OnDisplayDataTreeMerge ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
return bool

ReversalIndexEntryMenuHandler() public method

public ReversalIndexEntryMenuHandler ( ) : System
return System