C# Class SIL.Utils.FileDialog.Linux.FileDialogLinux

Inheritance: IFileDialog, IDisposable
Exibir arquivo Open project: sillsdev/FieldWorks

Protected Properties

Property Type Description
m_dlg Gtk.FileChooserDialog

Private Properties

Property Type Description
CreateFileChooserDialog Gtk.FileChooserDialog
LocalReset void
ResetFilter void

Public Methods

Method Description
Dispose ( ) : void
FileDialogLinux ( ) : System.Diagnostics.CodeAnalysis
Reset ( ) : void
ShowDialog ( ) : DialogResult
ShowDialog ( IWin32Window owner ) : DialogResult

Protected Methods

Method Description
ApplyFilter ( Gtk.FileChooserDialog dlg ) : void
Close ( ) : void
Dispose ( bool fDisposing ) : void
GetCurrentFileName ( string fileName ) : string
HandleDlgResponse ( object o, Gtk.ResponseArgs args ) : void
OnDisposed ( EventArgs e ) : void
OnFileOk ( CancelEventArgs e ) : void
OnHelpRequest ( EventArgs e ) : void
OnOk ( ) : bool
ReportFileNotFound ( string fileName ) : void
ShowMessageBox ( string formatMessage, ButtonsType buttons, MessageType msgType, string fileName ) : ResponseType

Private Methods

Method Description
CreateFileChooserDialog ( ) : Gtk.FileChooserDialog
LocalReset ( ) : void
ResetFilter ( Gtk.FileChooserDialog dlg ) : void

Method Details

ApplyFilter() protected method

protected ApplyFilter ( Gtk.FileChooserDialog dlg ) : void
dlg Gtk.FileChooserDialog
return void

Close() protected method

protected Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool fDisposing ) : void
fDisposing bool
return void

FileDialogLinux() public method

public FileDialogLinux ( ) : System.Diagnostics.CodeAnalysis
return System.Diagnostics.CodeAnalysis

GetCurrentFileName() protected method

protected GetCurrentFileName ( string fileName ) : string
fileName string
return string

HandleDlgResponse() protected method

protected HandleDlgResponse ( object o, Gtk.ResponseArgs args ) : void
o object
args Gtk.ResponseArgs
return void

OnDisposed() protected method

protected OnDisposed ( EventArgs e ) : void
e System.EventArgs
return void

OnFileOk() protected method

protected OnFileOk ( CancelEventArgs e ) : void
e CancelEventArgs
return void

OnHelpRequest() protected method

protected OnHelpRequest ( EventArgs e ) : void
e System.EventArgs
return void

OnOk() protected method

protected OnOk ( ) : bool
return bool

ReportFileNotFound() protected abstract method

protected abstract ReportFileNotFound ( string fileName ) : void
fileName string
return void

Reset() public method

public Reset ( ) : void
return void

ShowDialog() public method

public ShowDialog ( ) : DialogResult
return DialogResult

ShowDialog() public method

public ShowDialog ( IWin32Window owner ) : DialogResult
owner IWin32Window
return DialogResult

ShowMessageBox() protected method

protected ShowMessageBox ( string formatMessage, ButtonsType buttons, MessageType msgType, string fileName ) : ResponseType
formatMessage string
buttons ButtonsType
msgType MessageType
fileName string
return ResponseType

Property Details

m_dlg protected_oe property

protected FileChooserDialog,Gtk m_dlg
return Gtk.FileChooserDialog