C# 클래스 SIL.FieldWorks.TE.TeEditorialChecks.EditorialChecksRenderingsControl

The data grid for the Editorial Checks
상속: CheckRenderingControl, IxCoreColleague
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddAsValidCharacter void
EditCheckingErrorComment void
GetCheckingError SIL.FieldWorks.TE.TeEditorialChecks.CheckingError
GetCheckingError int
GetValidCharacters List
OnUpdateScrChecksAddAsValidCharacter bool
OnUpdateScrChecksEditAnnotation bool
OnUpdateScrChecksIgnored bool
OnUpdateScrChecksInconsistency bool
SelectCheckingError void
m_dataGridView_CellClick void
m_dataGridView_ColumnHeaderMouseClick void
m_dataGridView_RowEnter void
m_dataGridView_RowsAdded void
m_dataGridView_RowsRemoved void

공개 메소드들

메소드 설명
EditorialChecksRenderingsControl ( ) : System

Initializes a new instance of the T:EditorialChecksRenderingsControl class.

EditorialChecksRenderingsControl ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.FDO.Scripture.FilteredScrBooks bookFilter, FwMainWnd mainWnd, IHelpTopicProvider helpTopicProvider ) : System

Initializes a new instance of the T:EditorialChecksRenderingsControl class.

GetMessageTargets ( ) : IxCoreColleague[]

Init ( XCore.Mediator mediator, System configurationParameters ) : void

LoadCheckingErrors ( ) : void

Loads all the checking errors into the grid.

LoadCheckingErrors ( List selectedCheckIds ) : void

Loads into the grid, the checking errors for the specified checks.

PropChanged ( int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void

보호된 메소드들

메소드 설명
ChangeZoomPercent ( float oldFactor, float newFactor ) : void

Dispose ( bool disposing ) : void

Clean up any resources being used.

GetPreSortRow ( ) : object

Return the guid of the current row.

OnHandleCreated ( EventArgs e ) : void

Add ourselves from the xCoreColleagues list.

OnHandleDestroyed ( EventArgs e ) : void

Remove ourselves from the xCoreColleagues list.

OnLoadSettings ( Microsoft key ) : void

OnSaveSettings ( RegistryKey key ) : void

OnScrChecksAddAsValidCharacter ( object args ) : bool

For a characters check result, add the "invalid" character as a valid character.

OnScrChecksEditAnnotation ( object args ) : bool

OnScrChecksIgnored ( object args ) : bool

OnScrChecksIgnoredWAnnotation ( object args ) : bool

OnScrChecksInconsistency ( object args ) : bool

OnUpdateScrChecksIgnoredWAnnotation ( object args ) : bool

RestorePreSortRow ( object restoreRow ) : void

Use the supplied information to set the current checking error row.

비공개 메소드들

메소드 설명
AddAsValidCharacter ( SIL.FieldWorks.TE.TeEditorialChecks.CheckingError addedCharError ) : void

Adds the "invalid" character as a valid character.

EditCheckingErrorComment ( SIL.FieldWorks.TE.TeEditorialChecks.CheckingError error, string undoRedoLabel, bool fResolve ) : void
GetCheckingError ( int rowIndex ) : SIL.FieldWorks.TE.TeEditorialChecks.CheckingError

Gets the checking error from the specified row.

GetCheckingError ( System.Guid guid ) : int

Gets the index of the checking error for the specified guid. If a checking error for the guid cannot be found, then -1 is returned.

GetValidCharacters ( ) : List

Gets a list of valid characters from the vernacular writing system in the database.

OnUpdateScrChecksAddAsValidCharacter ( object args ) : bool
OnUpdateScrChecksEditAnnotation ( object args ) : bool
OnUpdateScrChecksIgnored ( object args ) : bool
OnUpdateScrChecksInconsistency ( object args ) : bool
SelectCheckingError ( System.Guid guid ) : void

Selects the checking error in the grid to the one whose guid is the same as that specified. If the specified guid cannot be found, then the first checking error in the grid is selected.

m_dataGridView_CellClick ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void

Handles the CellClick event of the m_dataGridView control.

m_dataGridView_ColumnHeaderMouseClick ( object sender, System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void
m_dataGridView_RowEnter ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void

Handles the RowEnter event of the m_dataGridView control.

m_dataGridView_RowsAdded ( object sender, System.Windows.Forms.DataGridViewRowsAddedEventArgs e ) : void

m_dataGridView_RowsRemoved ( object sender, System.Windows.Forms.DataGridViewRowsRemovedEventArgs e ) : void

메소드 상세

ChangeZoomPercent() 보호된 메소드

protected ChangeZoomPercent ( float oldFactor, float newFactor ) : void
oldFactor float
newFactor float
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

EditorialChecksRenderingsControl() 공개 메소드

Initializes a new instance of the T:EditorialChecksRenderingsControl class.
public EditorialChecksRenderingsControl ( ) : System
리턴 System

EditorialChecksRenderingsControl() 공개 메소드

Initializes a new instance of the T:EditorialChecksRenderingsControl class.
public EditorialChecksRenderingsControl ( SIL.FieldWorks.FDO.FdoCache cache, SIL.FieldWorks.FDO.Scripture.FilteredScrBooks bookFilter, FwMainWnd mainWnd, IHelpTopicProvider helpTopicProvider ) : System
cache SIL.FieldWorks.FDO.FdoCache The cache.
bookFilter SIL.FieldWorks.FDO.Scripture.FilteredScrBooks The book filter.
mainWnd SIL.FieldWorks.Common.Framework.FwMainWnd The FwMainWnd that owns this control.
helpTopicProvider IHelpTopicProvider The help topic provider.
리턴 System

GetMessageTargets() 공개 메소드

public GetMessageTargets ( ) : IxCoreColleague[]
리턴 IxCoreColleague[]

GetPreSortRow() 보호된 메소드

Return the guid of the current row.
protected GetPreSortRow ( ) : object
리턴 object

Init() 공개 메소드

public Init ( XCore.Mediator mediator, System configurationParameters ) : void
mediator XCore.Mediator
configurationParameters System
리턴 void

LoadCheckingErrors() 공개 메소드

Loads all the checking errors into the grid.
public LoadCheckingErrors ( ) : void
리턴 void

LoadCheckingErrors() 공개 메소드

Loads into the grid, the checking errors for the specified checks.
public LoadCheckingErrors ( List selectedCheckIds ) : void
selectedCheckIds List The list of checkIds for which to show results. /// When this is null, results for all the checks are shown.
리턴 void

OnHandleCreated() 보호된 메소드

Add ourselves from the xCoreColleagues list.
protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnHandleDestroyed() 보호된 메소드

Remove ourselves from the xCoreColleagues list.
protected OnHandleDestroyed ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnLoadSettings() 보호된 메소드

protected OnLoadSettings ( Microsoft key ) : void
key Microsoft
리턴 void

OnSaveSettings() 보호된 메소드

protected OnSaveSettings ( RegistryKey key ) : void
key Microsoft.Win32.RegistryKey
리턴 void

OnScrChecksAddAsValidCharacter() 보호된 메소드

For a characters check result, add the "invalid" character as a valid character.
protected OnScrChecksAddAsValidCharacter ( object args ) : bool
args object
리턴 bool

OnScrChecksEditAnnotation() 보호된 메소드

protected OnScrChecksEditAnnotation ( object args ) : bool
args object
리턴 bool

OnScrChecksIgnored() 보호된 메소드

protected OnScrChecksIgnored ( object args ) : bool
args object
리턴 bool

OnScrChecksIgnoredWAnnotation() 보호된 메소드

protected OnScrChecksIgnoredWAnnotation ( object args ) : bool
args object
리턴 bool

OnScrChecksInconsistency() 보호된 메소드

protected OnScrChecksInconsistency ( object args ) : bool
args object
리턴 bool

OnUpdateScrChecksIgnoredWAnnotation() 보호된 메소드

protected OnUpdateScrChecksIgnoredWAnnotation ( object args ) : bool
args object
리턴 bool

PropChanged() 공개 메소드

public PropChanged ( int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void
hvo int
tag int
ivMin int
cvIns int
cvDel int
리턴 void

RestorePreSortRow() 보호된 메소드

Use the supplied information to set the current checking error row.
protected RestorePreSortRow ( object restoreRow ) : void
restoreRow object
리턴 void