public SRNodeView(NodeView parentNodeView, INode2 node, NodeFilter filter, int depth) : base(parentNodeView, node, filter, depth, false) { FChannelPin = FNode.FindPin(ChannelPinName); FChannelPin.Changed += HandleChannelPinChanged; FSRChannel = FChannelPin[0]; }
public IONodeView(NodeView parentNodeView, INode2 node, NodeFilter filter, int depth) : base(parentNodeView, node, filter, depth, false) { FNode.LabelPin.Changed += HandleLabelPinChanged; FLabel = FNode.LabelPin[0]; FComment = string.Empty; if (FNode.NodeInfo.Category == "String") { FCommentPin = FNode.FindPin("Input String"); FCommentPin.Changed += HandleCommentPinChanged; FComment = FCommentPin[0] ?? string.Empty; } }