C# Class SIL.FieldWorks.TE.TeMainWnd.RestoreSelInfo

Contains information to restore a selection after applying a book filter
Show file Open project: sillsdev/FieldWorks

Public Properties

Property Type Description
IsActiveView bool
LocationTracker ILocationTracker
SelHelper SIL.FieldWorks.Common.RootSites.SelectionHelper
iBookAnchor int
iBookEnd int
iSectionAnchor int
iSectionEnd int

Public Methods

Method Description
RestoreSelInfo ( ILocationTracker locTracker, SelectionHelper selHelper, int iBookAnchor, int iSectionAnchor, int iBookEnd, int iSectionEnd, bool fIsActiveView ) : System

Initializes a new instance of the RestoreSelInfo struct.

Method Details

RestoreSelInfo() public method

Initializes a new instance of the RestoreSelInfo struct.
public RestoreSelInfo ( ILocationTracker locTracker, SelectionHelper selHelper, int iBookAnchor, int iSectionAnchor, int iBookEnd, int iSectionEnd, bool fIsActiveView ) : System
locTracker ILocationTracker The location tracker.
selHelper SIL.FieldWorks.Common.RootSites.SelectionHelper The selection helper.
iBookAnchor int The index of the book (in the bookfilter) at the /// anchor.
iSectionAnchor int The index of the section at the anchor (relative to /// the book).
iBookEnd int The index of the book (in the bookfilter) at the /// end.
iSectionEnd int The index of the section at the end (relative to the /// book).
fIsActiveView bool true if the selection info is for the /// currently active view.
return System

Property Details

IsActiveView public property

true if the selection info is for the currently active view
public bool IsActiveView
return bool

LocationTracker public property

The location tracker of the rootsite for this selection
public ILocationTracker LocationTracker
return ILocationTracker

SelHelper public property

public SelectionHelper,SIL.FieldWorks.Common.RootSites SelHelper
return SIL.FieldWorks.Common.RootSites.SelectionHelper

iBookAnchor public property

the index of the book (in the bookfilter) at the anchor
public int iBookAnchor
return int

iBookEnd public property

the index of the book (in the bookfilter) at the end
public int iBookEnd
return int

iSectionAnchor public property

the index of the section at the anchor (relative to the book)
public int iSectionAnchor
return int

iSectionEnd public property

the index of the section at the end (relative to the book)
public int iSectionEnd
return int