Exemplo n.º 1
0
        public override void FillCopy(ViewHelper copy, IDictionary <Element, Element> modelMap)
        {
            base.FillCopy(copy, modelMap);
            AssociationLabelViewHelper copyAssociationLabelViewHelper = (AssociationLabelViewHelper)copy;

            copyAssociationLabelViewHelper.LabelVisible = LabelVisible;
        }
Exemplo n.º 2
0
        public AssociationEndViewHelper(Diagram diagram, AssociationViewHelper associationViewHelper, AssociationEnd associationEnd)
            : base(diagram)
        {
            AssociationViewHelper       = associationViewHelper;
            MultiplicityLabelViewHelper = new AssociationLabelViewHelper(diagram);
            RoleLabelViewHelper         = new AssociationLabelViewHelper(diagram);
            AssociationEnd = associationEnd;

            points = new ObservablePointCollection();
        }
Exemplo n.º 3
0
 public PSMAssociationViewHelper(Diagram diagram) : base(diagram)
 {
     points = new ObservablePointCollection();
     MultiplicityLabelViewHelper = new AssociationLabelViewHelper(diagram);
 }
Exemplo n.º 4
0
 public AssociationViewHelper(Diagram diagram) : base(diagram)
 {
     MainLabelViewHelper = new AssociationLabelViewHelper(diagram);
 }