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

Private Properties

Свойство Type Description
OnDisplayMergeReversalPOS bool
OnDisplayMoveReversalPOS bool
OnDisplayPromoteReversalSubPOS bool
OnPromoteReversalSubPOS bool

Méthodes publiques

Méthode Description
OnMergeReversalPOS ( object cmd ) : bool
OnMoveReversalPOS ( object cmd ) : bool

Méthodes protégées

Méthode Description
CanInsert ( Command command, Slice currentSlice, int &index ) : bool

Private Methods

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

protected CanInsert ( Command command, Slice currentSlice, int &index ) : bool
command Command
currentSlice Slice
index int
Résultat bool

OnMergeReversalPOS() public méthode

public OnMergeReversalPOS ( object cmd ) : bool
cmd object
Résultat bool

OnMoveReversalPOS() public méthode

public OnMoveReversalPOS ( object cmd ) : bool
cmd object
Résultat bool