C# 클래스 SIL.FieldWorks.ParatextLexiconPlugin.DummyFdoUI

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

공개 메소드들

메소드 설명
CannotRestoreLinkedFilesToOriginalLocation ( ) : YesNoCancel

Cannot restore linked files to original path. Check with user regarding restoring linked files in the project folder or not at all

ChooseFilesToUse ( ) : FileSelection

Check with user regarding which files to use

ConflictingSave ( ) : bool

Check with user regarding conflicting changes

ConnectionLost ( ) : bool

Inform the user of a lost connection

DisplayMessage ( MessageType type, string message, string caption, string helpTopic ) : void

Displays information to the user

DummyFdoUI ( ISynchronizeInvoke synchronizeInvoke ) : System
Exit ( ) : void

Exits the application.

OfferToRestore ( string projectPath, string backupPath ) : bool

Ask user if they wish to restore an XML project from a backup project file.

ReportDuplicateGuids ( string errorText ) : void

Reports duplicate guids to the user

ReportException ( Exception error, bool isLethal ) : void

Show a dialog or output to the error log, as appropriate.

RestoreLinkedFilesInProjectFolder ( ) : bool

Check with user regarding restoring linked files in the project folder or original path

Retry ( string msg, string caption ) : bool

Present a message to the user and allow the options to Retry or Cancel

메소드 상세

CannotRestoreLinkedFilesToOriginalLocation() 공개 메소드

Cannot restore linked files to original path. Check with user regarding restoring linked files in the project folder or not at all
public CannotRestoreLinkedFilesToOriginalLocation ( ) : YesNoCancel
리턴 YesNoCancel

ChooseFilesToUse() 공개 메소드

Check with user regarding which files to use
public ChooseFilesToUse ( ) : FileSelection
리턴 FileSelection

ConflictingSave() 공개 메소드

Check with user regarding conflicting changes
public ConflictingSave ( ) : bool
리턴 bool

ConnectionLost() 공개 메소드

Inform the user of a lost connection
public ConnectionLost ( ) : bool
리턴 bool

DisplayMessage() 공개 메소드

Displays information to the user
public DisplayMessage ( MessageType type, string message, string caption, string helpTopic ) : void
type MessageType
message string
caption string
helpTopic string
리턴 void

DummyFdoUI() 공개 메소드

public DummyFdoUI ( ISynchronizeInvoke synchronizeInvoke ) : System
synchronizeInvoke ISynchronizeInvoke
리턴 System

Exit() 공개 메소드

Exits the application.
public Exit ( ) : void
리턴 void

OfferToRestore() 공개 메소드

Ask user if they wish to restore an XML project from a backup project file.
public OfferToRestore ( string projectPath, string backupPath ) : bool
projectPath string The project path.
backupPath string The backup path.
리턴 bool

ReportDuplicateGuids() 공개 메소드

Reports duplicate guids to the user
public ReportDuplicateGuids ( string errorText ) : void
errorText string The error text.
리턴 void

ReportException() 공개 메소드

Show a dialog or output to the error log, as appropriate.
public ReportException ( Exception error, bool isLethal ) : void
error System.Exception the exception you want to report
isLethal bool set to true if the error is lethal, otherwise /// false.
리턴 void

RestoreLinkedFilesInProjectFolder() 공개 메소드

Check with user regarding restoring linked files in the project folder or original path
public RestoreLinkedFilesInProjectFolder ( ) : bool
리턴 bool

Retry() 공개 메소드

Present a message to the user and allow the options to Retry or Cancel
public Retry ( string msg, string caption ) : bool
msg string The message.
caption string The caption.
리턴 bool