예제 #1
0
        /// <summary>
        /// Rule disabling is obsolete
        /// </summary>
        /// <returns></returns>
        public override RuleDisabling createRuleDisabling()
        {
            RuleDisabling retVal = new RuleDisabling();

            _defaultValueSetter.SetDefaultValue(retVal);

            return retVal;
        }
 public virtual void visit(RuleDisabling 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(RuleDisabling obj)
 {
     visit(obj, true);
 }
 public void copyTo(RuleDisabling other)
 {
     base.copyTo(other);
     other.aRule = aRule;
 }
 public void insertRuleDisablings(int idx, RuleDisabling el,Lock aLock)
 {
     __setDirty(true);
       allRuleDisablings().Insert (idx, el);
     NotifyControllers(aLock);
 }
 public void appendRuleDisablings(Lock aLock,RuleDisabling el)
 {
     __setDirty(true);
       el.__setDirty(true);
       allRuleDisablings().Add(el);
       acceptor.connectSon (this, el);
     NotifyControllers(aLock);
 }