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

Responsible to synchronize the Documents with the UI Elements that represent these Documents.
Mostrar archivo Open project: jbe2277/waf

Protected Methods

Method Description
DocumentController ( IFileService fileService ) : System
OnActiveDocumentChanged ( IDocument activeDocument ) : void
OnDocumentAdded ( IDocument document ) : void
OnDocumentRemoved ( IDocument document ) : void

Private Methods

Method Description
DocumentsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
FileServicePropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Method Details

DocumentController() protected method

protected DocumentController ( IFileService fileService ) : System
fileService IFileService
return System

OnActiveDocumentChanged() protected abstract method

protected abstract OnActiveDocumentChanged ( IDocument activeDocument ) : void
activeDocument IDocument
return void

OnDocumentAdded() protected abstract method

protected abstract OnDocumentAdded ( IDocument document ) : void
document IDocument
return void

OnDocumentRemoved() protected abstract method

protected abstract OnDocumentRemoved ( IDocument document ) : void
document IDocument
return void