C# Класс SIL.FieldWorks.ParatextLexiconPlugin.DummyFdoUI

Наследование: IFdoUI
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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