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
Afficher le fichier Open project: sillsdev/FieldWorks

Private Properties

Свойство Type Description
AddEntryAndChildrenRecursively void
OnDisplayMoveReversalindexEntry bool
OnDisplayPromoteReversalindexEntry bool
OnMoveReversalindexEntry bool
OnPromoteReversalindexEntry bool

Méthodes publiques

Méthode Description
OnDisplayDataTreeMerge ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool

decide whether to enable this tree delete Menu Item

ReversalIndexEntryMenuHandler ( ) : System

Private Methods

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

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

ReversalIndexEntryMenuHandler() public méthode

public ReversalIndexEntryMenuHandler ( ) : System
Résultat System