C# 클래스 Treefrog.Presentation.LevelPresenter

상속: IDisposable, ILayerContext, IPointerResponderProvider, ICommandSubscriber, ILayerListPresenter
파일 보기 프로젝트 열기: jaquadro/Treefrog 1 사용 예제들

공개 메소드들

메소드 설명
ActionInvalidateLevelGeometry ( ) : void
ActionSelectLayer ( System.Guid layerUid ) : void
ActionShowHideLayer ( System.Guid layerUid, LayerVisibility visibility ) : void
Activate ( ) : void
ActivateContextMenu ( CommandMenu menu, Point location ) : void
ActivatePropertyProvider ( IPropertyProvider provider ) : void
Deactivate ( ) : void
Dispose ( ) : void
LevelPresenter ( PresenterManager pm, Treefrog.Presentation.EditorPresenter editor, Treefrog.Framework.Model.Level level ) : System
SetPropertyProvider ( IPropertyProvider provider ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
OnContextMenuActivated ( ContextMenuEventArgs e ) : void
OnLevelGeometryInvalidated ( EventArgs e ) : void
OnPointerEventResponderChanged ( EventArgs e ) : void
OnSyncLayerList ( EventArgs e ) : void
OnSyncLayerSelection ( EventArgs e ) : void

비공개 메소드들

메소드 설명
AddLayer ( Layer layer ) : void
BindLayerEvents ( Layer layer ) : void
BindSelectedLayerEvents ( LevelLayerPresenter layer ) : void
CommandAddObjectLayer ( ) : void
CommandAddTileLayer ( ) : void
CommandCanAddObjectLayer ( ) : bool
CommandCanAddTileLayer ( ) : bool
CommandCanCloneLayer ( ) : bool
CommandCanDeleteLayer ( ) : bool
CommandCanEditLayer ( ) : bool
CommandCanLayerProperties ( ) : bool
CommandCanLevelProperties ( ) : bool
CommandCanMoveLayerBottom ( ) : bool
CommandCanMoveLayerDown ( ) : bool
CommandCanMoveLayerTop ( ) : bool
CommandCanMoveLayerUp ( ) : bool
CommandCanRedo ( ) : bool
CommandCanRename ( ) : bool
CommandCanResize ( ) : bool
CommandCanShowAll ( ) : bool
CommandCanShowNone ( ) : bool
CommandCanShowSelectedOnly ( ) : bool
CommandCanToggleGrid ( ) : bool
CommandCanUndo ( ) : bool
CommandCanZoomIn ( ) : bool
CommandCanZoomNormal ( ) : bool
CommandCanZoomOut ( ) : bool
CommandCloneLayer ( ) : void
CommandDeleteLayer ( ) : void
CommandEditLayer ( ) : void
CommandLayerProperties ( ) : void
CommandLevelProperties ( ) : void
CommandMoveLayerBottom ( ) : void
CommandMoveLayerDown ( ) : void
CommandMoveLayerTop ( ) : void
CommandMoveLayerUp ( ) : void
CommandRedo ( ) : void
CommandRename ( ) : void
CommandResize ( ) : void
CommandShowAll ( ) : void
CommandShowNone ( ) : void
CommandShowSelectedOnly ( ) : void
CommandToggleGrid ( ) : void
CommandUndo ( ) : void
CommandZoomIn ( ) : void
CommandZoomNormal ( ) : void
CommandZoomOut ( ) : void
FindCloneLayerName ( string basename ) : string
FindDefaultLayerName ( string baseName ) : string
HistoryChangedHandler ( object sender, EventArgs e ) : void
InitializeCommandManager ( ) : void
InitializeLayerHierarchy ( ) : void
InitializeLayers ( ) : void
InvalidateLayerCommands ( ) : void
InvalidateLayerViewCommands ( ) : void
InvalidateZoomCommands ( ) : void
PresenterRegsitered ( object sender, InstanceRegistryEventArgs e ) : void
PresenterUnregistered ( object sender, InstanceRegistryEventArgs e ) : void
RefreshGridVisibility ( ) : void
RemoveLayer ( System.Guid layerUid ) : void
SelectLayer ( ) : void
SelectLayer ( System.Guid layerUid ) : void
SelectedLayerPointerEventResponderChanged ( object sender, EventArgs e ) : void
UnbindLayerEvents ( Layer layer ) : void
UnbindLayerEvents ( LevelLayerPresenter layer ) : void
UnbindSelectedLayerEvents ( LevelLayerPresenter layer ) : void
ZoomStateLevelChanged ( object sender, EventArgs e ) : void

메소드 상세

ActionInvalidateLevelGeometry() 공개 메소드

public ActionInvalidateLevelGeometry ( ) : void
리턴 void

ActionSelectLayer() 공개 메소드

public ActionSelectLayer ( System.Guid layerUid ) : void
layerUid System.Guid
리턴 void

ActionShowHideLayer() 공개 메소드

public ActionShowHideLayer ( System.Guid layerUid, LayerVisibility visibility ) : void
layerUid System.Guid
visibility LayerVisibility
리턴 void

Activate() 공개 메소드

public Activate ( ) : void
리턴 void

ActivateContextMenu() 공개 메소드

public ActivateContextMenu ( CommandMenu menu, Point location ) : void
menu CommandMenu
location Point
리턴 void

ActivatePropertyProvider() 공개 메소드

public ActivatePropertyProvider ( IPropertyProvider provider ) : void
provider IPropertyProvider
리턴 void

Deactivate() 공개 메소드

public Deactivate ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

LevelPresenter() 공개 메소드

public LevelPresenter ( PresenterManager pm, Treefrog.Presentation.EditorPresenter editor, Treefrog.Framework.Model.Level level ) : System
pm PresenterManager
editor Treefrog.Presentation.EditorPresenter
level Treefrog.Framework.Model.Level
리턴 System

OnContextMenuActivated() 보호된 메소드

protected OnContextMenuActivated ( ContextMenuEventArgs e ) : void
e ContextMenuEventArgs
리턴 void

OnLevelGeometryInvalidated() 보호된 메소드

protected OnLevelGeometryInvalidated ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnPointerEventResponderChanged() 보호된 메소드

protected OnPointerEventResponderChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnSyncLayerList() 보호된 메소드

protected OnSyncLayerList ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnSyncLayerSelection() 보호된 메소드

protected OnSyncLayerSelection ( EventArgs e ) : void
e System.EventArgs
리턴 void

SetPropertyProvider() 공개 메소드

public SetPropertyProvider ( IPropertyProvider provider ) : void
provider IPropertyProvider
리턴 void