C# Class Whee.WordBuilder.Controller.DocumentController

Mostra file Open project: alfar/WordBuilder Class Usage Examples

Public Methods

Method Description
CheckSave ( ) : SaveCheckDialogResult
Compile ( ) : Project
DocumentController ( IWarningViewHelper warningViewHelper, IFileSystem fileSystem, IFileDialogHelper fileDialogHelper, ITextViewHelper textView, Document model ) : System
GetProjectNode ( ) : ProjectNode
GotoIndex ( int index ) : void
New ( ) : void
OnTextViewChanged ( object sender, string newText ) : void
Open ( ) : void
Save ( ) : void
SaveAs ( ) : void

Private Methods

Method Description
HandleM_WarningViewHelperWarningActivated ( object sender, WarningEventArgs e ) : void
HandleM_modelDocumentChanged ( object sender, DocumentChangedEventArgs e ) : void
HandleM_textViewBufferChanged ( object sender, DocumentChangedEventArgs e ) : void

Method Details

CheckSave() public method

public CheckSave ( ) : SaveCheckDialogResult
return SaveCheckDialogResult

Compile() public method

public Compile ( ) : Project
return Whee.WordBuilder.Model.Project

DocumentController() public method

public DocumentController ( IWarningViewHelper warningViewHelper, IFileSystem fileSystem, IFileDialogHelper fileDialogHelper, ITextViewHelper textView, Document model ) : System
warningViewHelper IWarningViewHelper
fileSystem IFileSystem
fileDialogHelper IFileDialogHelper
textView ITextViewHelper
model Whee.WordBuilder.Model.Document
return System

GetProjectNode() public method

public GetProjectNode ( ) : ProjectNode
return Whee.WordBuilder.ProjectV2.ProjectNode

GotoIndex() public method

public GotoIndex ( int index ) : void
index int
return void

New() public method

public New ( ) : void
return void

OnTextViewChanged() public method

public OnTextViewChanged ( object sender, string newText ) : void
sender object
newText string
return void

Open() public method

public Open ( ) : void
return void

Save() public method

public Save ( ) : void
return void

SaveAs() public method

public SaveAs ( ) : void
return void