Package org.eclipse.draw2d

Examples of org.eclipse.draw2d.CompoundBorder


    titleBarBorder.setPadding(INSETS);
    titleBarBorder.setTextAlignment(PositionConstants.CENTER);

    LineBorder lineBorder = new LineBorder(ColorConstants.black, 1);
    setBorder(new CompoundBorder(lineBorder, titleBarBorder));

    projectNameLabel = new Label();
    projectNameLabel.setOpaque(false);
    try {
      projectNameLabel.setFont(new Font(null, new FontData(Activator.getDefault().getPluginPreferences().getString(
View Full Code Here


  @Override
  protected Border createBorder() {
    MarginBorder marginBorder = new MarginBorder(PADDING - 1);
    LineBorder lineBorder = new LineBorder(1);
    lineBorder.setColor(ColorConstants.black);
    return new CompoundBorder(lineBorder, marginBorder);
  }
View Full Code Here

    ToolbarLayout layout = new ToolbarLayout();
    layout.setMinorAlignment(ToolbarLayout.ALIGN_TOPLEFT);
    layout.setStretchMinorAxis(false);
    layout.setSpacing(2);
    setLayoutManager(layout);
    setBorder(new CompoundBorder(new CompartmentBorder(),
                   new MarginBorder(2)));
  }
View Full Code Here

    ToolbarLayout layout = new ToolbarLayout();
    layout.setMinorAlignment(ToolbarLayout.ALIGN_TOPLEFT);
    layout.setStretchMinorAxis(false);
    layout.setSpacing(2);
    setLayoutManager(layout);
    setBorder(new CompoundBorder(new CompartmentBorder(),
                   new MarginBorder(2)));
  }
View Full Code Here

TOP

Related Classes of org.eclipse.draw2d.CompoundBorder

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.