Beispiel #1
0
  /**
   * Initializes all member variables within this object recursively
   *
   * <p>Note: Manually written
   */
  protected void initDefault() // SUBCLASSED BY ScatterSeriesImpl
      {
    super.initDefault();

    final LineAttributes lia =
        LineAttributesImpl.createDefault(null, LineStyle.SOLID_LITERAL, 1, true);
    setLineAttributes(lia);
    labelPosition = Position.ABOVE_LITERAL;

    final Marker m = MarkerImpl.createDefault(MarkerType.BOX_LITERAL, 4, true);
    LineAttributes la = LineAttributesImpl.createDefault(true);
    m.setOutline(la);
    getMarkers().add(m);

    paletteLineColor = true;
  }
Beispiel #2
0
  /**
   * Initializes all member variables within this object recursively
   *
   * <p>Note: Manually written
   */
  protected void initialize() // SUBCLASSED BY ScatterSeriesImpl
      {
    super.initialize();

    final LineAttributes lia = AttributeFactory.eINSTANCE.createLineAttributes();
    ((LineAttributesImpl) lia).set(ColorDefinitionImpl.BLACK(), LineStyle.SOLID_LITERAL, 1);
    lia.setVisible(true);
    setLineAttributes(lia);
    setLabelPosition(Position.ABOVE_LITERAL);

    final Marker m = AttributeFactory.eINSTANCE.createMarker();
    m.setType(MarkerType.BOX_LITERAL);
    m.setSize(4);
    m.setVisible(true);
    LineAttributes la = AttributeFactory.eINSTANCE.createLineAttributes();
    la.setVisible(true);
    m.setOutline(la);
    getMarkers().add(m);
    setPaletteLineColor(true);
  }
Beispiel #3
0
  /** @generated */
  protected void set(LineSeries src) {

    super.set(src);

    // children

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

    if (src.getMarker() != null) {
      setMarker(src.getMarker().copyInstance());
    }

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

    if (src.getShadowColor() != null) {
      setShadowColor(src.getShadowColor().copyInstance());
    }

    // attributes

    paletteLineColor = src.isPaletteLineColor();

    paletteLineColorESet = src.isSetPaletteLineColor();

    curve = src.isCurve();

    curveESet = src.isSetCurve();

    connectMissingValue = src.isConnectMissingValue();

    connectMissingValueESet = src.isSetConnectMissingValue();
  }