Inheritance: DataDictionary.ReqRelated
Ejemplo n.º 1
0
        public override void visit(State obj, bool visitSubNodes)
        {
            obj.setX(0);
            obj.setY(0);
            obj.setWidth(0);
            obj.setHeight(0);

            base.visit(obj, visitSubNodes);
        }
 public virtual void visit(State obj)
 {
     visit(obj, true);
 }
 public virtual void visit(State obj, bool visitSubNodes)
 {
     visit ((ReqRelated) obj, false);
     if (visitSubNodes){
     IXmlBBase[] Subs  = acceptor.subElements((IXmlBBase)obj);
     if (Subs != null){
     for (int i=0; i<Subs.Length; i++) {
       dispatch(Subs[i], true);
     } // If
     } // If
     }
 }
 public void insertStates(int idx, State el,Lock aLock)
 {
     __setDirty(true);
       allStates().Insert (idx, el);
     NotifyControllers(aLock);
 }
 public void appendStates(Lock aLock,State el)
 {
     __setDirty(true);
       el.__setDirty(true);
       allStates().Add(el);
       acceptor.connectSon (this, el);
     NotifyControllers(aLock);
 }
 public void copyTo(State other)
 {
     base.copyTo(other);
     other.aStateMachine = aStateMachine;
     other.aWidth = aWidth;
     other.aHeight = aHeight;
     other.aX = aX;
     other.aY = aY;
     other.aPinned = aPinned;
     other.aEnterAction = aEnterAction;
     other.aLeaveAction = aLeaveAction;
 }
 public void copyTo(State other)
 {
     base.copyTo(other);
     other.aStateMachine = aStateMachine;
     other.aWidth = aWidth;
     other.aHeight = aHeight;
     other.aX = aX;
     other.aY = aY;
 }
        public override void visit(State obj, bool visitSubNodes)
        {
            Constants.State state = (Constants.State) obj;

            if (state != null)
            {
                state.Messages.Clear();

                if (state.Name.Contains(' '))
                {
                    state.AddError("A state name cannot contain white spaces");
                }
            }

            base.visit(obj, visitSubNodes);
        }