C# Class SIL.FieldWorks.XWorks.LexEd.ReversalIndexEntrySlice.ReversalIndexEntrySliceView

Inheritance: SIL.FieldWorks.Common.RootSites.RootSiteControl
Datei anzeigen Open project: sillsdev/FieldWorks

Protected Properties

Property Type Description
m_dummyId int
m_heightView int
m_hvoObj int
m_hvoOldSelection int
m_sdaRev ReversalEntryDataAccess
m_sense ILexSense
m_tsf ITsStrFactory
m_usedIndices List
m_vc ReversalIndexEntryVc

Public Methods

Method Description
FindOrCreateReversalEntry ( IReversalIndex revIndex, List rgsForms, SIL.FieldWorks.FDO.FdoCache cache ) : int

Find the reversal index entry given by rgsForms, or if it doesn't exist, create it. In either case, return its hvo.

GetFormList ( string longNameIn, List forms ) : void

Given a string purporting to be the LongName of a reversal index entry, split it into the sequence of individial RIE forms that it represents (from the top of the hierarchy down).

MakeRoot ( ) : void
ReversalIndexEntrySliceView ( int hvo ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

HandleSelectionChange ( IVwRootBox rootb, IVwSelection vwselNew ) : void
OnLostFocus ( EventArgs e ) : void

Connect to the real data, when the control has lost focus.

OnMouseUp ( MouseEventArgs e ) : void

Private Methods

Method Description
CheckHeight ( ) : void
ConvertDummiesToReal ( int hvoDummy ) : int
FindMatchingReversalEntry ( List rgsForms, List rghvoOwners, List rgrieMatching, int idxForms, int &maxLevel, int &maxOwner ) : int
GetReversalFormsAndCheckExisting ( List currentEntries, int hvoIndex, int wsIndex, int irieSense, int hvoEntry, List rgsFromDummy ) : bool

Get the reversal index entry form(s), and check whether these are empty (link is being deleted) or the same as before (link is unchanged). In either of these two cases, do what is needed and return true. Otherwise return false (linked entry must be found or created).

LoadDummyCache ( bool doFullReload ) : void
OnShowInReversalIndex ( object sender, EventArgs e ) : void
RemoveFromDummyCache ( int hvoIndex, int index ) : void
ResetEntries ( ) : void

The main set of reversal entries has changed, so update the display.

ReversalIndexEntrySliceView_RightMouseClickedEvent ( SimpleRootSite sender, FwRightMouseClickEventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

FindOrCreateReversalEntry() public static method

Find the reversal index entry given by rgsForms, or if it doesn't exist, create it. In either case, return its hvo.
public static FindOrCreateReversalEntry ( IReversalIndex revIndex, List rgsForms, SIL.FieldWorks.FDO.FdoCache cache ) : int
revIndex IReversalIndex
rgsForms List
cache SIL.FieldWorks.FDO.FdoCache
return int

GetFormList() public static method

Given a string purporting to be the LongName of a reversal index entry, split it into the sequence of individial RIE forms that it represents (from the top of the hierarchy down).
public static GetFormList ( string longNameIn, List forms ) : void
longNameIn string
forms List
return void

HandleSelectionChange() protected method

protected HandleSelectionChange ( IVwRootBox rootb, IVwSelection vwselNew ) : void
rootb IVwRootBox
vwselNew IVwSelection
return void

MakeRoot() public method

public MakeRoot ( ) : void
return void

OnLostFocus() protected method

Connect to the real data, when the control has lost focus.
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e System.Windows.Forms.MouseEventArgs
return void

ReversalIndexEntrySliceView() public method

public ReversalIndexEntrySliceView ( int hvo ) : System
hvo int
return System

Property Details

m_dummyId protected_oe property

protected int m_dummyId
return int

m_heightView protected_oe property

protected int m_heightView
return int

m_hvoObj protected_oe property

protected int m_hvoObj
return int

m_hvoOldSelection protected_oe property

protected int m_hvoOldSelection
return int

m_sdaRev protected_oe property

A decorated ISilDataAccess for use with the Views code.
protected ReversalEntryDataAccess m_sdaRev
return ReversalEntryDataAccess

m_sense protected_oe property

protected ILexSense m_sense
return ILexSense

m_tsf protected_oe property

protected ITsStrFactory m_tsf
return ITsStrFactory

m_usedIndices protected_oe property

protected List m_usedIndices
return List

m_vc protected_oe property

protected ReversalIndexEntryVc m_vc
return ReversalIndexEntryVc