public override NodeViewData CreateNodeViewData(NodeViewData parent, Behaviac.Design.Nodes.BehaviorNode rootBehavior) { NodeViewData nvd = base.CreateNodeViewData(parent, rootBehavior); nvd.ChangeShape(NodeShape.Rectangle); return(nvd); }
public override void CheckForErrors(Behaviac.Design.Nodes.BehaviorNode rootBehavior, List <Behaviac.Design.Nodes.Node.ErrorCheck> result) { if (this._referencedBehavior == null) { result.Add(new Behaviac.Design.Nodes.Node.ErrorCheck(this.Node, this.Id, this.Label, Behaviac.Design.Nodes.ErrorCheckLevel.Error, "Behavior is not specified!")); } base.CheckForErrors(rootBehavior, result); }