C# Class DiagramContext, UnityClassDiagram

Mostrar archivo Open project: sashcode/UnityClassDiagram Class Usage Examples

Public Properties

Property Type Description
editor DiagramEditorWindow,

Public Methods

Method Description
DiagramContext ( DiagramEditorWindow, editorWindow ) : System.Collections.Generic
Drag ( Vector2 position ) : void
DragEnd ( Vector2 position ) : void
DragStart ( Vector2 position ) : void
FindNode ( string id ) : DiagramNode,
GetCommand ( ) : DiagramCommand,
GetDragDelta ( ) : Vector2
GetEdgeAdapter ( int typeId ) : EdgeAdapter,
GetNodeAdapter ( int typeId ) : NodeAdapter,
GetSelection ( ) : DiagramSelection,
IsMainSelection ( DiagramElement element ) : bool

Method Details

DiagramContext() public method

public DiagramContext ( DiagramEditorWindow, editorWindow ) : System.Collections.Generic
editorWindow DiagramEditorWindow,
return System.Collections.Generic

Drag() public method

public Drag ( Vector2 position ) : void
position Vector2
return void

DragEnd() public method

public DragEnd ( Vector2 position ) : void
position Vector2
return void

DragStart() public method

public DragStart ( Vector2 position ) : void
position Vector2
return void

FindNode() public method

public FindNode ( string id ) : DiagramNode,
id string
return DiagramNode,

GetCommand() public method

public GetCommand ( ) : DiagramCommand,
return DiagramCommand,

GetDragDelta() public method

public GetDragDelta ( ) : Vector2
return Vector2

GetEdgeAdapter() public method

public GetEdgeAdapter ( int typeId ) : EdgeAdapter,
typeId int
return EdgeAdapter,

GetNodeAdapter() public method

public GetNodeAdapter ( int typeId ) : NodeAdapter,
typeId int
return NodeAdapter,

GetSelection() public method

public GetSelection ( ) : DiagramSelection,
return DiagramSelection,

IsMainSelection() public method

public IsMainSelection ( DiagramElement element ) : bool
element DiagramElement
return bool

Property Details

editor public_oe property

public DiagramEditorWindow, editor
return DiagramEditorWindow,