Пример #1
0
        private void AddExtends(ExtendsRelationship extendsRelationship)
        {
            Shape startShape = GetShape(extendsRelationship.First);
            Shape endShape   = GetShape(extendsRelationship.Second);

            AddConnection(new ExtendsConnection(extendsRelationship, startShape, endShape));
        }
Пример #2
0
        public ExtendsRelationship AddExtends(UseCase first, UseCase second)
        {
            var extendsRelationship = new ExtendsRelationship(first, second);

            AddRelationship(extendsRelationship);
            return(extendsRelationship);
        }
Пример #3
0
 public bool InsertExtends(ExtendsRelationship extendsRelationship)
 {
     return(model.InsertRelationship(extendsRelationship));
 }
Пример #4
0
 public ExtendsConnection(ExtendsRelationship relationship, Shape firstShape, Shape secondShape)
     : base(relationship, firstShape, secondShape)
 {
     this.extendsRelationship = relationship;
 }