示例#1
0
    /** @generated */
    private void createContents() {

      fFigureFormNameFigure = new WrappingLabel();

      fFigureFormNameFigure.setText("<...>");

      this.add(fFigureFormNameFigure, BorderLayout.TOP);

      fFigureFormElementsCompartmentFigure = new RectangleFigure();

      fFigureFormElementsCompartmentFigure.setBorder(
          new LineBorder(FFIGUREFORMELEMENTSCOMPARTMENTFIGURE_BORDER, getMapMode().DPtoLP(1)));

      this.add(fFigureFormElementsCompartmentFigure, BorderLayout.CENTER);
    }
    /** @generated */
    private void createContents() {

      ScalablePolygonShape deepHistoryFigure_Letter0 = new ScalablePolygonShape();
      deepHistoryFigure_Letter0.addPoint(
          new Point(getMapMode().DPtoLP(0), getMapMode().DPtoLP(40)));
      deepHistoryFigure_Letter0.addPoint(
          new Point(getMapMode().DPtoLP(0), getMapMode().DPtoLP(20)));
      deepHistoryFigure_Letter0.addPoint(
          new Point(getMapMode().DPtoLP(40), getMapMode().DPtoLP(20)));
      deepHistoryFigure_Letter0.addPoint(
          new Point(getMapMode().DPtoLP(40), getMapMode().DPtoLP(40)));
      deepHistoryFigure_Letter0.addPoint(
          new Point(getMapMode().DPtoLP(40), getMapMode().DPtoLP(0)));
      deepHistoryFigure_Letter0.addPoint(
          new Point(getMapMode().DPtoLP(40), getMapMode().DPtoLP(20)));
      deepHistoryFigure_Letter0.addPoint(
          new Point(getMapMode().DPtoLP(0), getMapMode().DPtoLP(20)));
      deepHistoryFigure_Letter0.addPoint(new Point(getMapMode().DPtoLP(0), getMapMode().DPtoLP(0)));
      deepHistoryFigure_Letter0.setFill(true);
      deepHistoryFigure_Letter0.setLineWidth(1);
      deepHistoryFigure_Letter0.setPreferredSize(
          new Dimension(getMapMode().DPtoLP(15), getMapMode().DPtoLP(15)));
      deepHistoryFigure_Letter0.setMaximumSize(
          new Dimension(getMapMode().DPtoLP(15), getMapMode().DPtoLP(15)));

      GridData constraintDeepHistoryFigure_Letter0 = new GridData();
      constraintDeepHistoryFigure_Letter0.verticalAlignment = GridData.FILL;
      constraintDeepHistoryFigure_Letter0.horizontalAlignment = GridData.FILL;
      constraintDeepHistoryFigure_Letter0.horizontalIndent = 0;
      constraintDeepHistoryFigure_Letter0.horizontalSpan = 1;
      constraintDeepHistoryFigure_Letter0.verticalSpan = 1;
      constraintDeepHistoryFigure_Letter0.grabExcessHorizontalSpace = true;
      constraintDeepHistoryFigure_Letter0.grabExcessVerticalSpace = true;
      this.add(deepHistoryFigure_Letter0, constraintDeepHistoryFigure_Letter0);

      RectangleFigure deepHistoryFigure_AsteriskContainer0 = new RectangleFigure();
      deepHistoryFigure_AsteriskContainer0.setFill(false);
      deepHistoryFigure_AsteriskContainer0.setOutline(false);
      deepHistoryFigure_AsteriskContainer0.setLineWidth(1);
      deepHistoryFigure_AsteriskContainer0.setPreferredSize(
          new Dimension(getMapMode().DPtoLP(15), getMapMode().DPtoLP(15)));
      deepHistoryFigure_AsteriskContainer0.setMinimumSize(
          new Dimension(getMapMode().DPtoLP(15), getMapMode().DPtoLP(15)));
      deepHistoryFigure_AsteriskContainer0.setBorder(
          new MarginBorder(
              getMapMode().DPtoLP(0),
              getMapMode().DPtoLP(2),
              getMapMode().DPtoLP(5),
              getMapMode().DPtoLP(0)));

      GridData constraintDeepHistoryFigure_AsteriskContainer0 = new GridData();
      constraintDeepHistoryFigure_AsteriskContainer0.verticalAlignment = GridData.FILL;
      constraintDeepHistoryFigure_AsteriskContainer0.horizontalAlignment = GridData.FILL;
      constraintDeepHistoryFigure_AsteriskContainer0.horizontalIndent = 0;
      constraintDeepHistoryFigure_AsteriskContainer0.horizontalSpan = 1;
      constraintDeepHistoryFigure_AsteriskContainer0.verticalSpan = 1;
      constraintDeepHistoryFigure_AsteriskContainer0.grabExcessHorizontalSpace = true;
      constraintDeepHistoryFigure_AsteriskContainer0.grabExcessVerticalSpace = true;
      this.add(
          deepHistoryFigure_AsteriskContainer0, constraintDeepHistoryFigure_AsteriskContainer0);

      deepHistoryFigure_AsteriskContainer0.setLayoutManager(new StackLayout());

      ScalablePolygonShape deepHistoryFigure_Asterisk1 = new ScalablePolygonShape();
      deepHistoryFigure_Asterisk1.addPoint(
          new Point(getMapMode().DPtoLP(10), getMapMode().DPtoLP(7)));
      deepHistoryFigure_Asterisk1.addPoint(
          new Point(getMapMode().DPtoLP(30), getMapMode().DPtoLP(33)));
      deepHistoryFigure_Asterisk1.addPoint(
          new Point(getMapMode().DPtoLP(20), getMapMode().DPtoLP(20)));
      deepHistoryFigure_Asterisk1.addPoint(
          new Point(getMapMode().DPtoLP(30), getMapMode().DPtoLP(7)));
      deepHistoryFigure_Asterisk1.addPoint(
          new Point(getMapMode().DPtoLP(10), getMapMode().DPtoLP(33)));
      deepHistoryFigure_Asterisk1.addPoint(
          new Point(getMapMode().DPtoLP(20), getMapMode().DPtoLP(20)));
      deepHistoryFigure_Asterisk1.addPoint(
          new Point(getMapMode().DPtoLP(40), getMapMode().DPtoLP(20)));
      deepHistoryFigure_Asterisk1.addPoint(
          new Point(getMapMode().DPtoLP(0), getMapMode().DPtoLP(20)));
      deepHistoryFigure_Asterisk1.addPoint(
          new Point(getMapMode().DPtoLP(20), getMapMode().DPtoLP(20)));
      deepHistoryFigure_Asterisk1.setFill(true);
      deepHistoryFigure_Asterisk1.setLineWidth(1);

      deepHistoryFigure_AsteriskContainer0.add(deepHistoryFigure_Asterisk1);
    }