Table of Contents

Class ExecutablePortArrayNodeView

Namespace
Ceres.Editor.Flow
Assembly
Ceres.Flow.Editor.dll
[CustomNodeView(null)]
public class ExecutablePortArrayNodeView : ExecutableNodeView, ICeresNodeView
Inheritance
ExecutablePortArrayNodeView
Implements
Derived
Inherited Members

Constructors

ExecutablePortArrayNodeView(Type, CeresGraphView)

public ExecutablePortArrayNodeView(Type type, CeresGraphView graphView)

Parameters

type Type
graphView CeresGraphView

Properties

NodeReflection

Reflection data for IPortArrayNode

protected PortArrayNodeReflection NodeReflection { get; }

Property Value

PortArrayNodeReflection

PortLength

protected int PortLength { get; }

Property Value

int

Methods

AddPort(int)

protected void AddPort(int index)

Parameters

index int

BuildContextualMenu(ContextualMenuPopulateEvent)

Add menu items to the node contextual menu.

public override void BuildContextualMenu(ContextualMenuPopulateEvent evt)

Parameters

evt ContextualMenuPopulateEvent

CompileNode()

public override ExecutableNode CompileNode()

Returns

ExecutableNode

GetPortArrayElementDisplayName(int)

protected virtual string GetPortArrayElementDisplayName(int index)

Parameters

index int

Returns

string

RemovePort(int)

protected void RemovePort(int index)

Parameters

index int

RemoveUnconnectedPorts()

protected void RemoveUnconnectedPorts()

ReorderDynamicPorts()

protected void ReorderDynamicPorts()

SetNodeInstance(CeresNode)

Set node instance attached to this view and restore all properties

public override void SetNodeInstance(CeresNode ceresNode)

Parameters

ceresNode CeresNode

Events

OnPortArrayChanged

Event triggered when port array changes (port added or removed)

public event Action OnPortArrayChanged

Event Type

Action