C# Class Invert.Core.GraphDesigner.GraphDesignerPlugin

Inheritance: DiagramPlugin, IConnectionEvents, ICommandExecuted, IQueryPossibleConnections, IShowConnectionMenu
Mostra file Open project: InvertGames/uFrame.Editor

Public Methods

Method Description
CommandExecuted ( ICommand command ) : void
ConnectionApplied ( IGraphData g, IConnectable output, IConnectable input ) : void
ConnectionApplying ( IGraphData graph, IConnectable output, IConnectable input ) : void
CreateConnectionMenu ( ConnectionHandler viewModel, DiagramViewModel diagramViewModel, MouseEvent mouseEvent ) : void
Initialize ( UFrameContainer container ) : void
Loaded ( UFrameContainer container ) : void
QueryPossibleConnections ( SelectionMenu menu, DiagramViewModel diagramViewModel, ConnectorViewModel startConnector, Vector2 mousePosition ) : void
Show ( DiagramViewModel diagramViewModel, ConnectorViewModel startConnector, Vector2 position ) : void

Method Details

CommandExecuted() public method

public CommandExecuted ( ICommand command ) : void
command ICommand
return void

ConnectionApplied() public method

public ConnectionApplied ( IGraphData g, IConnectable output, IConnectable input ) : void
g IGraphData
output IConnectable
input IConnectable
return void

ConnectionApplying() public method

public ConnectionApplying ( IGraphData graph, IConnectable output, IConnectable input ) : void
graph IGraphData
output IConnectable
input IConnectable
return void

CreateConnectionMenu() public method

public CreateConnectionMenu ( ConnectionHandler viewModel, DiagramViewModel diagramViewModel, MouseEvent mouseEvent ) : void
viewModel ConnectionHandler
diagramViewModel DiagramViewModel
mouseEvent MouseEvent
return void

Initialize() public method

public Initialize ( UFrameContainer container ) : void
container UFrameContainer
return void

Loaded() public method

public Loaded ( UFrameContainer container ) : void
container UFrameContainer
return void

QueryPossibleConnections() public method

public QueryPossibleConnections ( SelectionMenu menu, DiagramViewModel diagramViewModel, ConnectorViewModel startConnector, Vector2 mousePosition ) : void
menu SelectionMenu
diagramViewModel DiagramViewModel
startConnector ConnectorViewModel
mousePosition Vector2
return void

Show() public method

public Show ( DiagramViewModel diagramViewModel, ConnectorViewModel startConnector, Vector2 position ) : void
diagramViewModel DiagramViewModel
startConnector ConnectorViewModel
position Vector2
return void