public virtual void visit(ReqRef obj) { visit(obj, true); }
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 } }
public void copyTo(ReqRef other) { base.copyTo(other); other.aId = aId; other.aSpecId = aSpecId; other.aComment = aComment; }
public void insertRequirements(int idx, ReqRef el,Lock aLock) { __setDirty(true); allRequirements().Insert (idx, el); NotifyControllers(aLock); }
public void appendRequirements(Lock aLock,ReqRef el) { __setDirty(true); el.__setDirty(true); allRequirements().Add(el); acceptor.connectSon (this, el); NotifyControllers(aLock); }
/// <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; }
public void copyTo(ReqRef other) { other.aId = aId; other.aComment = aComment; }