Package org.eclipse.draw2d

Examples of org.eclipse.draw2d.Border


    XYLayout layout = new XYLayout();
    figure.setLayoutManager(layout);
    figure.setForegroundColor(ColorConstants.black);

    Border line = new LineBorder(new Color(null, 0, 0, 0));
    figure.setBorder(line);

    return figure;
  }
View Full Code Here


  }

  @Override
  public void setSelected(int value) {
    super.setSelected(value);
    Border border = getFigure().getBorder();
    if (border instanceof LineBorder) {
      if (value != EditPart.SELECTED_NONE) {
        ((LineBorder) border).setWidth(2);
      }
      else {
View Full Code Here

TOP

Related Classes of org.eclipse.draw2d.Border

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.