C# Class SIL.FieldWorks.IText.Sandbox

The 'Sandbox' is a small view used to edit the data associated with a single Wordform... specifically, the data associated with a standard interlinear view. It uses a different, simpler model than the real interlinear view, documented below under the constants we use to describe it. This view makes editing easier. A further advantage is that we don't have to worry, until the view closes, about whether the user is editing one of the existing analyses or creating a new one.
Inheritance: SandboxBase, IAnalysisControlInternal
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Свойство Type Description
IAnalysisControlInternal void

Méthodes publiques

Méthode Description
Sandbox ( ) : System.Linq

Default Constructor.

Sandbox ( SIL.FieldWorks.FDO.FdoCache cache, XCore.Mediator mediator, IVwStylesheet ss, SIL.FieldWorks.IText.InterlinLineChoices choices ) : System.Linq

Sandbox ( SIL.FieldWorks.FDO.FdoCache cache, XCore.Mediator mediator, IVwStylesheet ss, SIL.FieldWorks.IText.InterlinLineChoices choices, SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence selected, FocusBoxController focusBox ) : System.Linq

Create a new one.

SwitchWord ( SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence selected ) : void

Set up the sandbox to display the specified analysis, hvoAnalysis, which might be a WfiWordform, WfiAnalysis, or WfiGloss.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

LoadForWordBundleAnalysis ( int hvoAnalysis ) : void

We don't want to do a load on our hvoAnalysis until our HvoAnnotation is setup.

OnHandleEnter ( ) : void

Private Methods

Méthode Description
IAnalysisControlInternal ( ) : void

This function will undo the last changes done to the project. This function is executed when the user clicks the undo menu item.

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

LoadForWordBundleAnalysis() protected méthode

We don't want to do a load on our hvoAnalysis until our HvoAnnotation is setup.
protected LoadForWordBundleAnalysis ( int hvoAnalysis ) : void
hvoAnalysis int
Résultat void

OnHandleEnter() protected méthode

protected OnHandleEnter ( ) : void
Résultat void

Sandbox() public méthode

Default Constructor.
public Sandbox ( ) : System.Linq
Résultat System.Linq

Sandbox() public méthode

public Sandbox ( SIL.FieldWorks.FDO.FdoCache cache, XCore.Mediator mediator, IVwStylesheet ss, SIL.FieldWorks.IText.InterlinLineChoices choices ) : System.Linq
cache SIL.FieldWorks.FDO.FdoCache
mediator XCore.Mediator
ss IVwStylesheet
choices SIL.FieldWorks.IText.InterlinLineChoices
Résultat System.Linq

Sandbox() public méthode

Create a new one.
public Sandbox ( SIL.FieldWorks.FDO.FdoCache cache, XCore.Mediator mediator, IVwStylesheet ss, SIL.FieldWorks.IText.InterlinLineChoices choices, SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence selected, FocusBoxController focusBox ) : System.Linq
cache SIL.FieldWorks.FDO.FdoCache
mediator XCore.Mediator
ss IVwStylesheet
choices SIL.FieldWorks.IText.InterlinLineChoices
selected SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence
focusBox FocusBoxController
Résultat System.Linq

SwitchWord() public méthode

Set up the sandbox to display the specified analysis, hvoAnalysis, which might be a WfiWordform, WfiAnalysis, or WfiGloss.
public SwitchWord ( SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence selected ) : void
selected SIL.FieldWorks.FDO.DomainServices.AnalysisOccurrence
Résultat void