C# 클래스 Invert.Core.GraphDesigner.DiagramDrawer

상속: Drawer, IInputHandler
파일 보기 프로젝트 열기: InvertGames/uFrame.Editor 1 사용 예제들

공개 메소드들

메소드 설명
BubbleEvent ( Action action, MouseEvent e ) : bool
CreateSelectionRect ( Vector2 start, Vector2 current ) : Rect
DiagramDrawer ( DiagramViewModel viewModel ) : System
Draw ( IPlatformDrawer platform, float scale ) : void
DrawBreadcrumbs ( IPlatformDrawer platform, float y ) : void
DrawTabs ( IPlatformDrawer platform, Rect tabsRect ) : void
GetDrawersAtPosition ( IDrawer parent, Vector2 point ) : IEnumerable
OnMouseDoubleClick ( MouseEvent mouseEvent ) : void
OnMouseDown ( MouseEvent mouseEvent ) : void
OnMouseEnter ( MouseEvent e ) : void
OnMouseExit ( MouseEvent e ) : void
OnMouseMove ( MouseEvent e ) : void
OnMouseUp ( MouseEvent mouseEvent ) : void
OnRightClick ( MouseEvent mouseEvent ) : void
Refresh ( IPlatformDrawer platform, Vector2 position, bool hardRefresh = true ) : void
Save ( ) : void
ShowAddNewContextMenu ( MouseEvent mouseEvent ) : void
ShowContextMenu ( MouseEvent mouseEvent ) : void
ShowItemContextMenu ( MouseEvent mouseEvent ) : void

보호된 메소드들

메소드 설명
DataContextChanged ( ) : void
OnSelectionChanged ( IDiagramNode olddata, IDiagramNode newdata ) : void

비공개 메소드들

메소드 설명
DrawErrors ( ) : void
DrawHelp ( ) : void
GraphItemsOnCollectionChangedWith ( NotifyCollectionChangedEventArgs changeArgs ) : void
GraphItemsOnCollectionChangedWith ( object sender, NotifyCollectionChangedEventArgs e ) : void
UpgradeOldProject ( ) : bool

메소드 상세

BubbleEvent() 공개 메소드

public BubbleEvent ( Action action, MouseEvent e ) : bool
action Action
e MouseEvent
리턴 bool

CreateSelectionRect() 공개 정적인 메소드

public static CreateSelectionRect ( Vector2 start, Vector2 current ) : Rect
start Vector2
current Vector2
리턴 UnityEngine.Rect

DataContextChanged() 보호된 메소드

protected DataContextChanged ( ) : void
리턴 void

DiagramDrawer() 공개 메소드

public DiagramDrawer ( DiagramViewModel viewModel ) : System
viewModel DiagramViewModel
리턴 System

Draw() 공개 메소드

public Draw ( IPlatformDrawer platform, float scale ) : void
platform IPlatformDrawer
scale float
리턴 void

DrawBreadcrumbs() 공개 메소드

public DrawBreadcrumbs ( IPlatformDrawer platform, float y ) : void
platform IPlatformDrawer
y float
리턴 void

DrawTabs() 공개 메소드

public DrawTabs ( IPlatformDrawer platform, Rect tabsRect ) : void
platform IPlatformDrawer
tabsRect UnityEngine.Rect
리턴 void

GetDrawersAtPosition() 공개 메소드

public GetDrawersAtPosition ( IDrawer parent, Vector2 point ) : IEnumerable
parent IDrawer
point Vector2
리턴 IEnumerable

OnMouseDoubleClick() 공개 메소드

public OnMouseDoubleClick ( MouseEvent mouseEvent ) : void
mouseEvent MouseEvent
리턴 void

OnMouseDown() 공개 메소드

public OnMouseDown ( MouseEvent mouseEvent ) : void
mouseEvent MouseEvent
리턴 void

OnMouseEnter() 공개 메소드

public OnMouseEnter ( MouseEvent e ) : void
e MouseEvent
리턴 void

OnMouseExit() 공개 메소드

public OnMouseExit ( MouseEvent e ) : void
e MouseEvent
리턴 void

OnMouseMove() 공개 메소드

public OnMouseMove ( MouseEvent e ) : void
e MouseEvent
리턴 void

OnMouseUp() 공개 메소드

public OnMouseUp ( MouseEvent mouseEvent ) : void
mouseEvent MouseEvent
리턴 void

OnRightClick() 공개 메소드

public OnRightClick ( MouseEvent mouseEvent ) : void
mouseEvent MouseEvent
리턴 void

OnSelectionChanged() 보호된 메소드

protected OnSelectionChanged ( IDiagramNode olddata, IDiagramNode newdata ) : void
olddata IDiagramNode
newdata IDiagramNode
리턴 void

Refresh() 공개 메소드

public Refresh ( IPlatformDrawer platform, Vector2 position, bool hardRefresh = true ) : void
platform IPlatformDrawer
position Vector2
hardRefresh bool
리턴 void

Save() 공개 메소드

public Save ( ) : void
리턴 void

ShowAddNewContextMenu() 공개 메소드

public ShowAddNewContextMenu ( MouseEvent mouseEvent ) : void
mouseEvent MouseEvent
리턴 void

ShowContextMenu() 공개 메소드

public ShowContextMenu ( MouseEvent mouseEvent ) : void
mouseEvent MouseEvent
리턴 void

ShowItemContextMenu() 공개 메소드

public ShowItemContextMenu ( MouseEvent mouseEvent ) : void
mouseEvent MouseEvent
리턴 void