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

ReversalPOSMenuHandler 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: SIL.FieldWorks.XWorks.DTMenuHandler
Datei anzeigen Open project: sillsdev/FieldWorks

Private Properties

Property Type Description
OnDisplayMergeReversalPOS bool
OnDisplayMoveReversalPOS bool
OnDisplayPromoteReversalSubPOS bool
OnPromoteReversalSubPOS bool

Public Methods

Method Description
OnMergeReversalPOS ( object cmd ) : bool
OnMoveReversalPOS ( object cmd ) : bool

Protected Methods

Method Description
CanInsert ( Command command, Slice currentSlice, int &index ) : bool

Private Methods

Method Description
OnDisplayMergeReversalPOS ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
OnDisplayMoveReversalPOS ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
OnDisplayPromoteReversalSubPOS ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
OnPromoteReversalSubPOS ( object cmd ) : bool

Method Details

CanInsert() protected method

protected CanInsert ( Command command, Slice currentSlice, int &index ) : bool
command Command
currentSlice Slice
index int
return bool

OnMergeReversalPOS() public method

public OnMergeReversalPOS ( object cmd ) : bool
cmd object
return bool

OnMoveReversalPOS() public method

public OnMoveReversalPOS ( object cmd ) : bool
cmd object
return bool