Package org.eclipse.draw2d

Examples of org.eclipse.draw2d.ToolbarLayout


    /**
     * @generated
     */
    public PhaseFigure() {

      ToolbarLayout layoutThis = new ToolbarLayout();
      layoutThis.setStretchMinorAxis(true);
      layoutThis.setMinorAlignment(ToolbarLayout.ALIGN_CENTER);

      layoutThis.setSpacing(0);
      layoutThis.setVertical(true);

      this.setLayoutManager(layoutThis);

      createContents();
    }
View Full Code Here


    /**
     * @generated
     */
    public SubKindFigure() {

      ToolbarLayout layoutThis = new ToolbarLayout();
      layoutThis.setStretchMinorAxis(true);
      layoutThis.setMinorAlignment(ToolbarLayout.ALIGN_CENTER);

      layoutThis.setSpacing(0);
      layoutThis.setVertical(true);

      this.setLayoutManager(layoutThis);

      createContents();
    }
View Full Code Here

    /**
     * @generated
     */
    public GeneralizationSetFigure() {

      ToolbarLayout layoutThis = new ToolbarLayout();
      layoutThis.setStretchMinorAxis(true);
      layoutThis.setMinorAlignment(ToolbarLayout.ALIGN_CENTER);

      layoutThis.setSpacing(0);
      layoutThis.setVertical(true);

      this.setLayoutManager(layoutThis);

      this.setOutline(false);
      createContents();
View Full Code Here

     * @generated NOT
     */
    public GeneralizationSetFigure(
        GeneralizationSetEditPart generalizationseteditpart) {

      ToolbarLayout layoutThis = new ToolbarLayout();
      layoutThis.setStretchMinorAxis(true);
      layoutThis.setMinorAlignment(ToolbarLayout.ALIGN_CENTER);

      layoutThis.setSpacing(0);
      layoutThis.setVertical(true);

      this.setLayoutManager(layoutThis);

      this.setOutline(false);
      createContents(generalizationseteditpart);
View Full Code Here

    /**
     * @generated
     */
    public QuantityFigure() {

      ToolbarLayout layoutThis = new ToolbarLayout();
      layoutThis.setStretchMinorAxis(true);
      layoutThis.setMinorAlignment(ToolbarLayout.ALIGN_CENTER);

      layoutThis.setSpacing(0);
      layoutThis.setVertical(true);

      this.setLayoutManager(layoutThis);

      createContents();
    }
View Full Code Here

    /**
     * @generated
     */
    public PhaseFigure() {

      ToolbarLayout layoutThis = new ToolbarLayout();
      layoutThis.setStretchMinorAxis(true);
      layoutThis.setMinorAlignment(ToolbarLayout.ALIGN_CENTER);

      layoutThis.setSpacing(0);
      layoutThis.setVertical(true);

      this.setLayoutManager(layoutThis);

      createContents();
    }
View Full Code Here

    /**
     * @generated
     */
    public CollectiveFigure() {

      ToolbarLayout layoutThis = new ToolbarLayout();
      layoutThis.setStretchMinorAxis(true);
      layoutThis.setMinorAlignment(ToolbarLayout.ALIGN_CENTER);

      layoutThis.setSpacing(0);
      layoutThis.setVertical(true);

      this.setLayoutManager(layoutThis);

      createContents();
    }
View Full Code Here

     * <!-- end-user-doc -->
     * @generated NOT
     */
    public CollectiveFigure(String foo) {

      ToolbarLayout layoutThis = new ToolbarLayout();
      layoutThis.setStretchMinorAxis(true);
      layoutThis.setMinorAlignment(ToolbarLayout.ALIGN_CENTER);

      layoutThis.setSpacing(0);
      layoutThis.setVertical(true);

      this.setLayoutManager(layoutThis);

      createContents2();
    }
View Full Code Here

  private TitleBarBorder titleBarBorder;

  private Color titleColor = ColorConstants.lightGray;

  public ProjectFigure() {
    ToolbarLayout toolbarLayout = new ToolbarLayout();
    toolbarLayout.setSpacing(10);
    toolbarLayout.setStretchMinorAxis(false);
    setLayoutManager(toolbarLayout);
    setOpaque(true);

    titleBarBorder = new TitleBarBorder("<< Project >>");
    titleBarBorder.setFont(steriotypeFont);
View Full Code Here

    expandListeners = new ArrayList<IExpandListener>();

    this.font = font;
    this.name = name;
    this.isExpandable = isExpandable;
    ToolbarLayout layout = new ToolbarLayout(true);

    layout.setMinorAlignment(OrderedLayout.ALIGN_CENTER);
    setLayoutManager(layout);
    setOpaque(false);

    expandLabel = new Label();
    if (isExpandable == true) {
View Full Code Here

TOP

Related Classes of org.eclipse.draw2d.ToolbarLayout

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.