Package org.eclipse.draw2d

Examples of org.eclipse.draw2d.RectangleFigure


          .setBackgroundColor(ColorConstants.menuBackgroundSelected);
      feedbackFigure
          .setForegroundColor(ColorConstants.menuForegroundSelected);
      return feedbackFigure;
    } else {
      RectangleFigure feedbackFigure = new RectangleFigure();
      feedbackFigure.setFill(false);
      return feedbackFigure;
    }
  }
View Full Code Here


          .setBackgroundColor(ColorConstants.menuBackgroundSelected);
      feedbackFigure
          .setForegroundColor(ColorConstants.menuForegroundSelected);
      return feedbackFigure;
    } else {
      RectangleFigure feedbackFigure = new RectangleFigure();
      feedbackFigure.setFill(false);
      return feedbackFigure;
    }
  }
View Full Code Here

          .setBackgroundColor(ColorConstants.menuBackgroundSelected);
      feedbackFigure
          .setForegroundColor(ColorConstants.menuForegroundSelected);
      return feedbackFigure;
    } else {
      RectangleFigure feedbackFigure = new RectangleFigure();
      feedbackFigure.setFill(false);
      return feedbackFigure;
    }
  }
View Full Code Here

          .setBackgroundColor(ColorConstants.menuBackgroundSelected);
      feedbackFigure
          .setForegroundColor(ColorConstants.menuForegroundSelected);
      return feedbackFigure;
    } else {
      RectangleFigure feedbackFigure = new RectangleFigure();
      feedbackFigure.setFill(false);
      return feedbackFigure;
    }
  }
View Full Code Here

  else if (modelPart instanceof LiveOutput)
    figure = new LiveOutputFeedbackFigure();
  else if (modelPart instanceof AndGate)
    figure = new AndGateFeedbackFigure();
  else {
    figure = new RectangleFigure();
    ((RectangleFigure)figure).setXOR(true);
    ((RectangleFigure)figure).setFill(true);
    figure.setBackgroundColor(LogicColorConstants.ghostFillColor);
    figure.setForegroundColor(ColorConstants.white);
  }
View Full Code Here

  else if (createRequest.getNewObject() instanceof LogicFlowContainer)
    figure = new LogicFlowFeedbackFigure();   
  else if (createRequest.getNewObject() instanceof LogicLabel)
    figure = new LabelFeedbackFigure();
  else {
    figure = new RectangleFigure();
    ((RectangleFigure)figure).setXOR(true);
    ((RectangleFigure)figure).setFill(true);
    figure.setBackgroundColor(LogicColorConstants.ghostFillColor);
    figure.setForegroundColor(ColorConstants.white);
  }
View Full Code Here

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

      RectangleFigure rrr0 = new RectangleFigure();
      rrr0.setLineWidth(1);
      rrr0.setBackgroundColor(ColorConstants.white);

      this.add(rrr0, BorderLayout.TOP);

      BorderLayout layoutRrr0 = new BorderLayout();
      rrr0.setLayoutManager(layoutRrr0);

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

      rrr0.add(fFigureFeatureNodeFigureLabel, BorderLayout.LEFT);

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

      rrr0.add(fFigureFeatureNodeFigureVersionLabel1, BorderLayout.RIGHT);

      fFigureFeatureNodeRelationNodesRectangleFigure1 = new RectangleFigure();
      fFigureFeatureNodeRelationNodesRectangleFigure1.setFillXOR(true);
      fFigureFeatureNodeRelationNodesRectangleFigure1.setLineWidth(1);
      fFigureFeatureNodeRelationNodesRectangleFigure1
          .setBackgroundColor(ColorConstants.white);
      fFigureFeatureNodeRelationNodesRectangleFigure1
View Full Code Here

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

      RectangleFigure rrr0 = new RectangleFigure();
      rrr0.setFill(false);
      rrr0.setOutline(false);
      rrr0.setLineWidth(0);

      this.add(rrr0, BorderLayout.TOP);

      BorderLayout layoutRrr0 = new BorderLayout();
      rrr0.setLayoutManager(layoutRrr0);

      fFigureFeatureNodeFigureLabel = new WrappingLabel();
      fFigureFeatureNodeFigureLabel.setText("Untiteled");

      fFigureFeatureNodeFigureLabel
          .setFont(FFIGUREFEATURENODEFIGURELABEL_FONT);

      fFigureFeatureNodeFigureLabel.setBorder(new MarginBorder(
          getMapMode().DPtoLP(2), getMapMode().DPtoLP(0),
          getMapMode().DPtoLP(2), getMapMode().DPtoLP(5)));

      rrr0.add(fFigureFeatureNodeFigureLabel, BorderLayout.CENTER);

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

      rrr0.add(fFigureFeatureNodeFigureVersionLabel1, BorderLayout.RIGHT);

      fFigureFeatureNodeRelationNodesRectangleFigure1 = new RectangleFigure();
      fFigureFeatureNodeRelationNodesRectangleFigure1.setFill(false);
      fFigureFeatureNodeRelationNodesRectangleFigure1.setOutline(false);
      fFigureFeatureNodeRelationNodesRectangleFigure1.setLineWidth(0);
      fFigureFeatureNodeRelationNodesRectangleFigure1
          .setForegroundColor(ColorConstants.lightGray);
View Full Code Here

TOP

Related Classes of org.eclipse.draw2d.RectangleFigure

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.