Examples of ToolbarLayout


Examples of org.eclipse.draw2d.ToolbarLayout

    /**
     * @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

Examples of org.eclipse.draw2d.ToolbarLayout

     * <!-- 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

Examples of org.eclipse.draw2d.ToolbarLayout

  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

Examples of org.eclipse.draw2d.ToolbarLayout

    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

Examples of org.eclipse.draw2d.ToolbarLayout

 
  public AbstractDecoratorFigure(String name, boolean formatName, Font font, int bottomSpace, int topSpace, boolean isExpandable){
    this.formatName = formatName;
    this.name = name;
    this.isExpandable = isExpandable;
    ToolbarLayout layout = new ToolbarLayout();
      setLayoutManager(layout)
      setOpaque(false);
    Label topSpaceLabel = new Label("");
    topSpaceLabel.setFont(new Font(null, "Arial", topSpace, SWT.NORMAL));
View Full Code Here

Examples of org.eclipse.draw2d.ToolbarLayout

    this.isChecked = isCheckedByDefault;

    checkListeners = new ArrayList<ICheckListener>();

    ToolbarLayout layout = new ToolbarLayout();

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

    checkMarkLabel = new Label();
View Full Code Here

Examples of org.eclipse.draw2d.ToolbarLayout

   */
  public SatisfiedLevelFigure(Float satisfiedLevel) {
    super();

   this.satisfiedLevel = satisfiedLevel;
    ToolbarLayout layout = new ToolbarLayout();
    layout.setMinorAlignment(OrderedLayout.ALIGN_CENTER);
   
    setLayoutManager(layout);
    setOpaque(false);

    satisfiedLevelLabel = new Label();
View Full Code Here

Examples of org.eclipse.draw2d.ToolbarLayout

   * @param headDecoratorFigure the Figure for the decoration of the top
   */
  public ElementFigure(AbstractDecoratorFigure bodyDecoratorFigure,
      Figure footDecoratorFigure, Figure headDecoratorFigure) {
   
    ToolbarLayout layout = new ToolbarLayout();
    setLayoutManager(layout);
    setOpaque(false);
    this.headDecoratorFigure = headDecoratorFigure;
    this.footDecoratorFigure = footDecoratorFigure;
   
View Full Code Here

Examples of org.eclipse.draw2d.ToolbarLayout

    relationshipLocator.setUDistance(0);
    relationshipLocator.setVDistance(10);

    Figure decoractionFigure = new Figure();

    ToolbarLayout layout = new ToolbarLayout();
    decoractionFigure.setLayoutManager(layout);
    decoractionFigure.setOpaque(false);

    Label weightLabel = new Label(weight);
    weightLabel.setFont(decoractionFontSmall);
View Full Code Here

Examples of org.eclipse.draw2d.ToolbarLayout

    relationshipLocator.setUDistance(10);
    relationshipLocator.setVDistance(10);

    Figure decoractionFigure = new Figure();

    ToolbarLayout layout = new ToolbarLayout();
    decoractionFigure.setLayoutManager(layout);
    decoractionFigure.setOpaque(false);

    Label minusLabel = new Label("_");
    minusLabel.setFont(decoractionFontLarge);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.