C# Class SIL.FieldWorks.FdoUi.ReferenceSequenceUi

Currently only LexReferenceSequenceView displays a full sequence for lexical relations sequence. Otherwise we could also manufacture ReferenceSequenceUi from ReferenceBaseUi.MakeUi(). But since only LexReferenceSequenceView (e.g. Calendar) is handling changing the sequence of items through the context menu, we'll wait till we really need it to come up with a solution that can "exclude self" from the list in moving calculations.
Inheritance: VectorReferenceUi
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
OnDisplayMoveTargetDownInSequence ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
OnDisplayMoveTargetUpInSequence ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
OnMoveTargetDownInSequence ( object commandObject ) : void
OnMoveTargetUpInSequence ( object commandObject ) : void
ReferenceSequenceUi ( SIL.FieldWorks.FDO.FdoCache cache, ICmObject rootObj, int referenceFlid, int targetHvo ) : System

Protected Methods

Method Description
ComputeTargetVectorIndex ( ) : int

Method Details

ComputeTargetVectorIndex() protected method

protected ComputeTargetVectorIndex ( ) : int
return int

OnDisplayMoveTargetDownInSequence() public method

public OnDisplayMoveTargetDownInSequence ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
return bool

OnDisplayMoveTargetUpInSequence() public method

public OnDisplayMoveTargetUpInSequence ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
return bool

OnMoveTargetDownInSequence() public method

public OnMoveTargetDownInSequence ( object commandObject ) : void
commandObject object
return void

OnMoveTargetUpInSequence() public method

public OnMoveTargetUpInSequence ( object commandObject ) : void
commandObject object
return void

ReferenceSequenceUi() public method

public ReferenceSequenceUi ( SIL.FieldWorks.FDO.FdoCache cache, ICmObject rootObj, int referenceFlid, int targetHvo ) : System
cache SIL.FieldWorks.FDO.FdoCache
rootObj ICmObject
referenceFlid int
targetHvo int
return System