Package org.eclipse.draw2d

Examples of org.eclipse.draw2d.RoundedRectangle


    public BPMNStateFigure() {
        setSize(80, 48);
    }
   
    protected void customizeFigure() {
        rectangle = new RoundedRectangle();
        rectangle.setCornerDimensions(new Dimension(25, 25));
        add(rectangle, 0);
        rectangle.setBounds(getBounds());
        setSelected(false);
        setIcon(ICON);
View Full Code Here


    public BPMNWorkItemNodeFigure() {
        setSize(80, 48);
    }
   
    protected void customizeFigure() {
        rectangle = new RoundedRectangle();
        rectangle.setCornerDimensions(new Dimension(25, 25));
        add(rectangle, 0);
        rectangle.setBounds(getBounds());
        setSelected(false);
    }
View Full Code Here

    /**
     * @generated
     */
    private void createContents() {

      RoundedRectangle rowOneRoundRectangle0 = new RoundedRectangle();
      rowOneRoundRectangle0.setCornerDimensions(new Dimension(
          getMapMode().DPtoLP(10), getMapMode().DPtoLP(10)));
      rowOneRoundRectangle0.setLineWidth(0);
      rowOneRoundRectangle0
          .setForegroundColor(ROWONEROUNDRECTANGLE0_FORE);
      rowOneRoundRectangle0
          .setBackgroundColor(ROWONEROUNDRECTANGLE0_BACK);

      this.add(rowOneRoundRectangle0);

      GridLayout layoutRowOneRoundRectangle0 = new GridLayout();
      layoutRowOneRoundRectangle0.numColumns = 2;
      layoutRowOneRoundRectangle0.makeColumnsEqualWidth = true;
      rowOneRoundRectangle0.setLayoutManager(layoutRowOneRoundRectangle0);

      WrappingLabel titleScoreLabel1 = new WrappingLabel();
      titleScoreLabel1.setText("score:");
      titleScoreLabel1.setForegroundColor(TITLESCORELABEL1_FORE);

      rowOneRoundRectangle0.add(titleScoreLabel1);

      fFigureScoreLabel = new WrappingLabel();
      fFigureScoreLabel.setText("- - -");
      fFigureScoreLabel.setForegroundColor(FFIGURESCORELABEL_FORE);

      rowOneRoundRectangle0.add(fFigureScoreLabel);

      RoundedRectangle rowTwoRoundRectangle0 = new RoundedRectangle();
      rowTwoRoundRectangle0.setCornerDimensions(new Dimension(
          getMapMode().DPtoLP(10), getMapMode().DPtoLP(10)));
      rowTwoRoundRectangle0.setLineWidth(0);
      rowTwoRoundRectangle0
          .setForegroundColor(ROWTWOROUNDRECTANGLE0_FORE);
      rowTwoRoundRectangle0
          .setBackgroundColor(ROWTWOROUNDRECTANGLE0_BACK);

      this.add(rowTwoRoundRectangle0);

      GridLayout layoutRowTwoRoundRectangle0 = new GridLayout();
      layoutRowTwoRoundRectangle0.numColumns = 2;
      layoutRowTwoRoundRectangle0.makeColumnsEqualWidth = true;
      rowTwoRoundRectangle0.setLayoutManager(layoutRowTwoRoundRectangle0);

      WrappingLabel titleRecordCountLabel1 = new WrappingLabel();
      titleRecordCountLabel1.setText("rec.count:");
      titleRecordCountLabel1
          .setForegroundColor(TITLERECORDCOUNTLABEL1_FORE);

      rowTwoRoundRectangle0.add(titleRecordCountLabel1);

      fFigureRecordCountLabel = new WrappingLabel();
      fFigureRecordCountLabel.setText("0.0");
      fFigureRecordCountLabel
          .setForegroundColor(FFIGURERECORDCOUNTLABEL_FORE);

      rowTwoRoundRectangle0.add(fFigureRecordCountLabel);

    }
View Full Code Here

  /**
   * @generated
   */
  protected IFigure createNodeShape() {
    return primaryShape = new RoundedRectangle();
  }
View Full Code Here

  /**
   * @generated
   */
  protected IFigure createNodeShape() {
    return primaryShape = new RoundedRectangle();
  }
View Full Code Here

      WrappingLabel titelTaxonomyLabel0 = new WrappingLabel();
      titelTaxonomyLabel0.setText("Taxonomy");

      this.add(titelTaxonomyLabel0);

      RoundedRectangle roundedRectangleNameLabel0 = new RoundedRectangle();
      roundedRectangleNameLabel0.setCornerDimensions(new Dimension(
          getMapMode().DPtoLP(8), getMapMode().DPtoLP(8)));
      roundedRectangleNameLabel0.setOutline(false);
      roundedRectangleNameLabel0.setLineWidth(1);

      this.add(roundedRectangleNameLabel0);

      GridLayout layoutRoundedRectangleNameLabel0 = new GridLayout();
      layoutRoundedRectangleNameLabel0.numColumns = 2;
      layoutRoundedRectangleNameLabel0.makeColumnsEqualWidth = true;
      roundedRectangleNameLabel0
          .setLayoutManager(layoutRoundedRectangleNameLabel0);

      WrappingLabel titelTNameLabel1 = new WrappingLabel();
      titelTNameLabel1.setText("name:");

      roundedRectangleNameLabel0.add(titelTNameLabel1);

      fFigureTNameLabel = new WrappingLabel();
      fFigureTNameLabel.setText("");

      roundedRectangleNameLabel0.add(fFigureTNameLabel);

    }
View Full Code Here

    /**
     * @generated
     */
    private void createContents() {

      RoundedRectangle roundedRectangleChildFieldParentFieldLabel0 = new RoundedRectangle();
      roundedRectangleChildFieldParentFieldLabel0
          .setCornerDimensions(new Dimension(getMapMode().DPtoLP(8),
              getMapMode().DPtoLP(8)));
      roundedRectangleChildFieldParentFieldLabel0.setOutline(false);
      roundedRectangleChildFieldParentFieldLabel0.setLineWidth(1);

      this.add(roundedRectangleChildFieldParentFieldLabel0);

      GridLayout layoutRoundedRectangleChildFieldParentFieldLabel0 = new GridLayout();
      layoutRoundedRectangleChildFieldParentFieldLabel0.numColumns = 4;
      layoutRoundedRectangleChildFieldParentFieldLabel0.makeColumnsEqualWidth = true;
      roundedRectangleChildFieldParentFieldLabel0
          .setLayoutManager(layoutRoundedRectangleChildFieldParentFieldLabel0);

      WrappingLabel titleChildFieldLabel1 = new WrappingLabel();
      titleChildFieldLabel1.setText("child field:");

      roundedRectangleChildFieldParentFieldLabel0
          .add(titleChildFieldLabel1);

      fFigureChildFieldLabel = new WrappingLabel();
      fFigureChildFieldLabel.setText("");

      roundedRectangleChildFieldParentFieldLabel0
          .add(fFigureChildFieldLabel);

      WrappingLabel titleParentFieldLabel1 = new WrappingLabel();
      titleParentFieldLabel1.setText("parent field:");

      roundedRectangleChildFieldParentFieldLabel0
          .add(titleParentFieldLabel1);

      fFigureParentFieldLabel = new WrappingLabel();
      fFigureParentFieldLabel.setText("");

      roundedRectangleChildFieldParentFieldLabel0
          .add(fFigureParentFieldLabel);

    }
View Full Code Here

      WrappingLabel titelDataDictionaryLabel0 = new WrappingLabel();
      titelDataDictionaryLabel0.setText("Data Dictionary");

      this.add(titelDataDictionaryLabel0);

      RoundedRectangle roundedRectangleNumberOfFieldsLabel0 = new RoundedRectangle();
      roundedRectangleNumberOfFieldsLabel0
          .setCornerDimensions(new Dimension(getMapMode().DPtoLP(10),
              getMapMode().DPtoLP(10)));
      roundedRectangleNumberOfFieldsLabel0.setOutline(false);
      roundedRectangleNumberOfFieldsLabel0.setLineWidth(1);

      this.add(roundedRectangleNumberOfFieldsLabel0);

      GridLayout layoutRoundedRectangleNumberOfFieldsLabel0 = new GridLayout();
      layoutRoundedRectangleNumberOfFieldsLabel0.numColumns = 2;
      layoutRoundedRectangleNumberOfFieldsLabel0.makeColumnsEqualWidth = false;
      roundedRectangleNumberOfFieldsLabel0
          .setLayoutManager(layoutRoundedRectangleNumberOfFieldsLabel0);

      WrappingLabel titelNumberOfFieldsLabel1 = new WrappingLabel();
      titelNumberOfFieldsLabel1.setText("number of fields:");

      roundedRectangleNumberOfFieldsLabel0.add(titelNumberOfFieldsLabel1);

      fFigureNumberOfFieldsLabel = new WrappingLabel();
      fFigureNumberOfFieldsLabel.setText("");

      roundedRectangleNumberOfFieldsLabel0
          .add(fFigureNumberOfFieldsLabel);

    }
View Full Code Here

      WrappingLabel titelDataFieldLabel0 = new WrappingLabel();
      titelDataFieldLabel0.setText("Data Field");

      this.add(titelDataFieldLabel0);

      RoundedRectangle roundedRectangleNameDatatypeOptypeLabel0 = new RoundedRectangle();
      roundedRectangleNameDatatypeOptypeLabel0
          .setCornerDimensions(new Dimension(getMapMode().DPtoLP(8),
              getMapMode().DPtoLP(8)));
      roundedRectangleNameDatatypeOptypeLabel0.setOutline(false);
      roundedRectangleNameDatatypeOptypeLabel0.setLineWidth(1);

      this.add(roundedRectangleNameDatatypeOptypeLabel0);

      GridLayout layoutRoundedRectangleNameDatatypeOptypeLabel0 = new GridLayout();
      layoutRoundedRectangleNameDatatypeOptypeLabel0.numColumns = 6;
      layoutRoundedRectangleNameDatatypeOptypeLabel0.makeColumnsEqualWidth = false;
      roundedRectangleNameDatatypeOptypeLabel0
          .setLayoutManager(layoutRoundedRectangleNameDatatypeOptypeLabel0);

      WrappingLabel titelNameLabel1 = new WrappingLabel();
      titelNameLabel1.setText("name:");

      roundedRectangleNameDatatypeOptypeLabel0.add(titelNameLabel1);

      fFigureNameLabel = new WrappingLabel();
      fFigureNameLabel.setText("");

      roundedRectangleNameDatatypeOptypeLabel0.add(fFigureNameLabel);

      WrappingLabel titelDataTypeLabel1 = new WrappingLabel();
      titelDataTypeLabel1.setText("|   data type:");

      roundedRectangleNameDatatypeOptypeLabel0.add(titelDataTypeLabel1);

      fFigureDataTypeLabel = new WrappingLabel();
      fFigureDataTypeLabel.setText("");

      roundedRectangleNameDatatypeOptypeLabel0.add(fFigureDataTypeLabel);

      WrappingLabel titelOptypeLabel1 = new WrappingLabel();
      titelOptypeLabel1.setText("|   optype:");

      roundedRectangleNameDatatypeOptypeLabel0.add(titelOptypeLabel1);

      fFigureOptypeLabel = new WrappingLabel();
      fFigureOptypeLabel.setText("");

      roundedRectangleNameDatatypeOptypeLabel0.add(fFigureOptypeLabel);

    }
View Full Code Here

  /**
   * @generated
   */
  protected IFigure createNodeShape() {
    return primaryShape = new RoundedRectangle();
  }
View Full Code Here

TOP

Related Classes of org.eclipse.draw2d.RoundedRectangle

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.