C# Class Waf.Writer.Applications.Controllers.FileController

Inheritance: System.Waf.Applications.Controller
Mostrar archivo Open project: jbe2277/waf Class Usage Examples

Private Properties

Property Type Description
ActiveDocumentPropertyChanged void
CanCloseCommand bool
CanDocumentsClose bool
CanSaveAsCommand bool
CanSaveCommand bool
Close void
CloseCommand void
FileController System
FileServicePropertyChanged void
GetDocumentType IDocumentType
New IDocument
NewCommand void
Open IDocument
OpenCommand void
OpenCore IDocument
Register void
Save void
SaveAs void
SaveAsCommand void
SaveCommand void
SaveCore void
UpdateCommands void

Public Methods

Method Description
CloseAll ( ) : bool
Initialize ( ) : void
Open ( string fileName ) : IDocument
Shutdown ( ) : void

Private Methods

Method Description
ActiveDocumentPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
CanCloseCommand ( ) : bool
CanDocumentsClose ( IEnumerable documentsToClose ) : bool
CanSaveAsCommand ( ) : bool
CanSaveCommand ( ) : bool
Close ( IDocument document ) : void
CloseCommand ( ) : void
FileController ( IMessageService messageService, IFileDialogService fileDialogService, IShellService shellService, FileService fileService, ExportFactory saveChangesViewModelFactory ) : System
FileServicePropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
GetDocumentType ( FileType fileType ) : IDocumentType
New ( IDocumentType documentType ) : IDocument
NewCommand ( ) : void
Open ( ) : IDocument
OpenCommand ( object commandParameter ) : void
OpenCore ( string fileName, FileType fileType = null ) : IDocument
Register ( DocumentType documentType ) : void
Save ( IDocument document ) : void
SaveAs ( IDocument document ) : void
SaveAsCommand ( ) : void
SaveCommand ( ) : void
SaveCore ( IDocumentType documentType, IDocument document, string fileName ) : void
UpdateCommands ( ) : void

Method Details

CloseAll() public method

public CloseAll ( ) : bool
return bool

Initialize() public method

public Initialize ( ) : void
return void

Open() public method

public Open ( string fileName ) : IDocument
fileName string
return IDocument

Shutdown() public method

public Shutdown ( ) : void
return void