C# 클래스 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.
상속: SandboxBase, IAnalysisControlInternal
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

Private Properties

프로퍼티 타입 설명
IAnalysisControlInternal void

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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.

메소드 상세

Dispose() 보호된 메소드

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

LoadForWordBundleAnalysis() 보호된 메소드

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

OnHandleEnter() 보호된 메소드

protected OnHandleEnter ( ) : void
리턴 void

Sandbox() 공개 메소드

Default Constructor.
public Sandbox ( ) : System.Linq
리턴 System.Linq

Sandbox() 공개 메소드

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
리턴 System.Linq

Sandbox() 공개 메소드

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
리턴 System.Linq

SwitchWord() 공개 메소드

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
리턴 void