Inheritance: ModelElement
コード例 #1
0
 public virtual void visit(ReqRef obj)
 {
     visit(obj, true);
 }
コード例 #2
0
 public virtual void visit(ReqRef obj, bool visitSubNodes)
 {
     visit ((BaseModelElement) 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
     }
 }
コード例 #3
0
 public void copyTo(ReqRef other)
 {
     base.copyTo(other);
     other.aId = aId;
     other.aSpecId = aSpecId;
     other.aComment = aComment;
 }
コード例 #4
0
 public void insertRequirements(int idx, ReqRef el,Lock aLock)
 {
     __setDirty(true);
       allRequirements().Insert (idx, el);
     NotifyControllers(aLock);
 }
コード例 #5
0
 public void appendRequirements(Lock aLock,ReqRef el)
 {
     __setDirty(true);
       el.__setDirty(true);
       allRequirements().Add(el);
       acceptor.connectSon (this, el);
     NotifyControllers(aLock);
 }
コード例 #6
0
        /// <summary>
        ///     Indicates that the requirement is already present in the step
        /// </summary>
        /// <param name="step"></param>
        /// <param name="reqRef"></param>
        /// <returns></returns>
        private bool IsRequirementPresent(Step step, ReqRef reqRef)
        {
            bool retVal = false;

            foreach (ReqRef stepReqRef in step.Requirements)
            {
                if (reqRef.Paragraph == stepReqRef.Paragraph)
                {
                    retVal = true;
                    break;
                }
            }

            return retVal;
        }
コード例 #7
0
 public void copyTo(ReqRef other)
 {
     other.aId = aId;
     other.aComment = aComment;
 }