C# Class Treefrog.Presentation.ContentWorkspacePresenter

Inheritance: IDisposable, ICommandSubscriber
Datei anzeigen Open project: jaquadro/Treefrog Class Usage Examples

Public Methods

Method Description
AddContentController ( ContentTypeController controller ) : void
CloseContent ( System.Guid uid ) : void
ContentWorkspacePresenter ( Treefrog.Presentation.EditorPresenter editor ) : System
Dispose ( ) : void
GetContent ( System.Guid uid ) : ContentPresenter
IsContentOpen ( System.Guid uid ) : bool
IsContentValid ( System.Guid uid ) : bool
OpenContent ( System.Guid uid ) : void
RemoveContentController ( ContentTypeController controller ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnContentClosed ( ContentPresenterEventArgs e ) : void
OnContentModified ( ContentPresenterEventArgs e ) : void
OnContentOpened ( ContentPresenterEventArgs e ) : void
OnProjectReset ( EventArgs e ) : void

Private Methods

Method Description
BindProject ( Project project ) : void
CommandCanOpenLevel ( object param ) : bool
CommandOpenLevel ( object param ) : void
ControllerContentClosedHandler ( object sender, ContentPresenterEventArgs e ) : void
ControllerContentOpenedHandler ( object sender, ContentPresenterEventArgs e ) : void
EditorSyncCurrentProject ( object sender, Treefrog.Presentation.SyncProjectEventArgs e ) : void
InitializeCommandManager ( ) : void

Method Details

AddContentController() public method

public AddContentController ( ContentTypeController controller ) : void
controller ContentTypeController
return void

CloseContent() public method

public CloseContent ( System.Guid uid ) : void
uid System.Guid
return void

ContentWorkspacePresenter() public method

public ContentWorkspacePresenter ( Treefrog.Presentation.EditorPresenter editor ) : System
editor Treefrog.Presentation.EditorPresenter
return System

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

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

GetContent() public method

public GetContent ( System.Guid uid ) : ContentPresenter
uid System.Guid
return ContentPresenter

IsContentOpen() public method

public IsContentOpen ( System.Guid uid ) : bool
uid System.Guid
return bool

IsContentValid() public method

public IsContentValid ( System.Guid uid ) : bool
uid System.Guid
return bool

OnContentClosed() protected method

protected OnContentClosed ( ContentPresenterEventArgs e ) : void
e ContentPresenterEventArgs
return void

OnContentModified() protected method

protected OnContentModified ( ContentPresenterEventArgs e ) : void
e ContentPresenterEventArgs
return void

OnContentOpened() protected method

protected OnContentOpened ( ContentPresenterEventArgs e ) : void
e ContentPresenterEventArgs
return void

OnProjectReset() protected method

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

OpenContent() public method

public OpenContent ( System.Guid uid ) : void
uid System.Guid
return void

RemoveContentController() public method

public RemoveContentController ( ContentTypeController controller ) : void
controller ContentTypeController
return void