C# 클래스 SIL.FieldWorks.FwCoreDlgs.DummyWritingSystemPropertiesDialog

상속: WritingSystemPropertiesDialog
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DoExpectedMsgBoxResult DialogResult
PopulateAddWsContextMenu System.Windows.Forms.ContextMenuStrip
PressBtnAdd bool
PressBtnCopy bool
PressCancel void
PressDeleteButton bool
PressOk void
SelectEthnologueCodeDlg void
SetCustomRegionName void
SetScriptName void
SetVariantName void
SwitchTab void
ValidateConvertersTab void
ValidateFontsTab void
ValidateGeneralInfo void
ValidateGeneralTab void
ValidateKeyboardTab void
ValidateSortingTab void
VerifyAddWsContextMenuItems void
VerifyListBox void
VerifyLoadedForListBoxSelection void
VerifyLoadedForListBoxSelection void
VerifyRelatedWritingSystem void
VerifyTab void
VerifyWritingSystemsAreEqual void
VerifyWsId void

공개 메소드들

메소드 설명
DummyWritingSystemPropertiesDialog ( SIL.FieldWorks.FDO.FdoCache cache ) : System

Initializes a new instance of the DummyWritingSystemPropertiesDialog class.

ShowDialog ( IWritingSystem ws ) : int

sets up the dialog without actually showing it.

SwitchTab ( int index ) : void

For some reason the tests are not triggering tabControl_Deselecting and tabControl_SelectedIndexChanged, so call them explicitly here.

보호된 메소드들

메소드 설명
CallShowDialog ( SIL.FieldWorks.FwCoreDlgs.LanguageSelectionDlg dlg ) : DialogResult

simulate choosing settings with those specified in SelectEthnologueCodeDlg().

LoadAvailableConverters ( ) : void

Remove a dependency on Encoding Converters

ShowMsgBoxCantCreateDuplicateWs ( IWritingSystem tempWs, IWritingSystem origWs ) : void

ShowMsgCantChangeUserWs ( IWritingSystem tempWs, IWritingSystem origWs ) : void

비공개 메소드들

메소드 설명
DoExpectedMsgBoxResult ( ShowMsgBoxStatus encountered, string origWsId ) : DialogResult

Check the expected state of MsgBox being encountered.

PopulateAddWsContextMenu ( ) : ContextMenuStrip
PressBtnAdd ( string item ) : bool
PressBtnCopy ( ) : bool
PressCancel ( ) : void

Presses the Cancel button.

PressDeleteButton ( ) : bool

PressOk ( ) : void

Presses the OK button.

SelectEthnologueCodeDlg ( string languageName, string ethnologueCode, string country, DialogResult ethnologueDlgResultToEnforce, ShowMsgBoxStatus expectedMsgBoxes, string expectedOrigIcuLocales, DialogResult resultsToEnforce ) : void
SetCustomRegionName ( string newRegionName ) : void

Set a new Custom (private use) Region subtag

Unless you modify this method it will fail given an input parameter length of less than 2.

SetScriptName ( string newScriptName ) : void
SetVariantName ( string newVariantName ) : void
SwitchTab ( int index, ShowMsgBoxStatus expectedStatus, DialogResult doResult ) : void
ValidateConvertersTab ( ) : void
ValidateFontsTab ( ) : void
ValidateGeneralInfo ( ) : void

ValidateGeneralTab ( ) : void
ValidateKeyboardTab ( ) : void
ValidateSortingTab ( ) : void
VerifyAddWsContextMenuItems ( string expectedItems ) : void
VerifyListBox ( string wsnames ) : void

Verifies the writing system order.

VerifyLoadedForListBoxSelection ( string expectedItemName ) : void
VerifyLoadedForListBoxSelection ( string expectedItemName, int selectedIndex ) : void
VerifyRelatedWritingSystem ( string langAbbr ) : void

VerifyTab ( int index ) : void
VerifyWritingSystemsAreEqual ( int indexA, int indexB ) : void
VerifyWsId ( string wsId ) : void

메소드 상세

CallShowDialog() 보호된 메소드

simulate choosing settings with those specified in SelectEthnologueCodeDlg().
protected CallShowDialog ( SIL.FieldWorks.FwCoreDlgs.LanguageSelectionDlg dlg ) : DialogResult
dlg SIL.FieldWorks.FwCoreDlgs.LanguageSelectionDlg
리턴 DialogResult

DummyWritingSystemPropertiesDialog() 공개 메소드

Initializes a new instance of the DummyWritingSystemPropertiesDialog class.
public DummyWritingSystemPropertiesDialog ( SIL.FieldWorks.FDO.FdoCache cache ) : System
cache SIL.FieldWorks.FDO.FdoCache The cache.
리턴 System

LoadAvailableConverters() 보호된 메소드

Remove a dependency on Encoding Converters
protected LoadAvailableConverters ( ) : void
리턴 void

ShowDialog() 공개 메소드

sets up the dialog without actually showing it.
public ShowDialog ( IWritingSystem ws ) : int
ws IWritingSystem The writing system which properties will be displayed
리턴 int

ShowMsgBoxCantCreateDuplicateWs() 보호된 메소드

protected ShowMsgBoxCantCreateDuplicateWs ( IWritingSystem tempWs, IWritingSystem origWs ) : void
tempWs IWritingSystem
origWs IWritingSystem
리턴 void

ShowMsgCantChangeUserWs() 보호된 메소드

protected ShowMsgCantChangeUserWs ( IWritingSystem tempWs, IWritingSystem origWs ) : void
tempWs IWritingSystem
origWs IWritingSystem
리턴 void

SwitchTab() 공개 메소드

For some reason the tests are not triggering tabControl_Deselecting and tabControl_SelectedIndexChanged, so call them explicitly here.
public SwitchTab ( int index ) : void
index int
리턴 void