Exemplo n.º 1
0
        public override NodeViewData CreateNodeViewData(NodeViewData parent, Behaviac.Design.Nodes.BehaviorNode rootBehavior)
        {
            NodeViewData nvd = base.CreateNodeViewData(parent, rootBehavior);

            nvd.ChangeShape(NodeShape.Rectangle);

            return(nvd);
        }
Exemplo n.º 2
0
        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);
        }