Inheritance: DataDictionary.ReqRelated
        public override void visit(Rule obj, bool visitSubNodes)
        {
            Rules.Rule rule = obj as Rules.Rule;

            if (rule != null)
            {
                rule.ExecutionCount = 0;
                rule.ExecutionTimeInMilli = 0L;
            }

            base.visit(obj, visitSubNodes);
        }
        public override void visit(Rule obj, bool visitSubNodes)
        {
            obj.setPriority(acceptor.RulePriority.aProcessing);
            obj.setX(0);
            obj.setY(0);
            obj.setWidth(0);
            obj.setHeight(0);
            obj.setHidden(false);
            obj.setPinned(false);

            base.visit(obj, visitSubNodes);
        }
 public virtual void visit(Rule 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 virtual void visit(Rule obj)
 {
     visit(obj, true);
 }
 public void insertRules(int idx, Rule el,Lock aLock)
 {
     __setDirty(true);
       allRules().Insert (idx, el);
     NotifyControllers(aLock);
 }
 public void appendRules(Lock aLock,Rule el)
 {
     __setDirty(true);
       el.__setDirty(true);
       allRules().Add(el);
       acceptor.connectSon (this, el);
     NotifyControllers(aLock);
 }
 public void setLeaveAction(Rule v)
 {
     aLeaveAction = v;
       if ( v != null ) {
     v.setFather(this);
       }
       __setDirty(true);
       NotifyControllers(null);
 }
 public State()
 {
     State obj = this;
     aStateMachine=(null);
     aWidth=(0);
     aHeight=(0);
     aX=(0);
     aY=(0);
     aPinned=(false);
     aEnterAction=(null);
     aLeaveAction=(null);
 }
 /// <summary>Part of the list interface for SubRules
 /// This insertion function inserts a new element in the
 /// collection in SubRules</summary>
 /// <param name="idx">the index where the insertion must take place</param>
 /// <param name="el">the element to insert</param>
 public void insertSubRules(int idx, Rule el)
 {
     __setDirty(true);
       allSubRules().Insert (idx, el);
     NotifyControllers(null);
 }
 /// <summary>Part of the list interface for SubRules</summary>
 /// <param name="el">a Rule to add to the collection in 
 ///           SubRules</param>
 /// <seealso cref="appendSubRules(System.Collections.IList)"/>
 public void appendSubRules(Rule el)
 {
     __setDirty(true);
       el.__setDirty(true);
       allSubRules().Add(el);
       acceptor.connectSon (this, el);
     NotifyControllers(null);
 }
 public void copyTo(Rule other)
 {
     base.copyTo(other);
     other.aPriority = aPriority;
     other.aConditions = aConditions;
     other.aWidth = aWidth;
     other.aHeight = aHeight;
     other.aX = aX;
     other.aY = aY;
     other.aHidden = aHidden;
     other.aPinned = aPinned;
 }
Example #12
0
            /// <summary>
            ///     Indicates which rules are not active
            /// </summary>
            /// <param name="obj"></param>
            /// <param name="visitSubNodes"></param>
            public override void visit(Rule obj, bool visitSubNodes)
            {
                Rules.Rule rule = obj as Rules.Rule;
                if (rule != null)
                {
                    rule.ActivationPriorities = null;
                }

                base.visit(obj, visitSubNodes);
            }
 public void copyTo(Rule other)
 {
     base.copyTo(other);
     other.aPriority = aPriority;
     other.aConditions = aConditions;
 }
        public override void visit(Rule obj, bool visitSubNodes)
        {
            obj.setPriority(acceptor.RulePriority.aProcessing);

            base.visit(obj, visitSubNodes);
        }