Beispiel #1
0
  /** @generated */
  protected void set(Dial src) {

    // children

    if (src.getLineAttributes() != null) {
      setLineAttributes(src.getLineAttributes().copyInstance());
    }

    if (src.getFill() != null) {
      setFill(src.getFill().copyInstance());
    }

    if (src.getDialRegions() != null) {
      EList<DialRegion> list = getDialRegions();
      for (DialRegion element : src.getDialRegions()) {
        list.add(element.copyInstance());
      }
    }

    if (src.getMajorGrid() != null) {
      setMajorGrid(src.getMajorGrid().copyInstance());
    }

    if (src.getMinorGrid() != null) {
      setMinorGrid(src.getMinorGrid().copyInstance());
    }

    if (src.getScale() != null) {
      setScale(src.getScale().copyInstance());
    }

    if (src.getLabel() != null) {
      setLabel(src.getLabel().copyInstance());
    }

    if (src.getFormatSpecifier() != null) {
      setFormatSpecifier(src.getFormatSpecifier().copyInstance());
    }

    // attributes

    startAngle = src.getStartAngle();

    startAngleESet = src.isSetStartAngle();

    stopAngle = src.getStopAngle();

    stopAngleESet = src.isSetStopAngle();

    radius = src.getRadius();

    radiusESet = src.isSetRadius();

    inverseScale = src.isInverseScale();

    inverseScaleESet = src.isSetInverseScale();
  }