Package org.eclipse.draw2d

Examples of org.eclipse.draw2d.LineBorder


        private static final Image icon = ImageDescriptor.createFromURL(
            DroolsEclipsePlugin.getDefault().getBundle().getEntry("icons/process_start.gif")).createImage();;
       
        protected void customizeFigure() {
            setIcon(icon);
            setBorder(new LineBorder(1));
        }
View Full Code Here


        private static final Image icon = ImageDescriptor.createFromURL(
            DroolsEclipsePlugin.getDefault().getBundle().getEntry("icons/event.gif")).createImage();
       
        protected void customizeFigure() {
            setIcon(icon);
            setBorder(new LineBorder(1));
        }
View Full Code Here

        private static final Image icon = ImageDescriptor.createFromURL(
            DroolsEclipsePlugin.getDefault().getBundle().getEntry("icons/process_stop.gif")).createImage();
           
        protected void customizeFigure() {
            setIcon(icon);
            setBorder(new LineBorder(1));
        }
View Full Code Here

    public static class CompositeNodeFigure extends ElementContainerFigure {

//        private List<ConnectionAnchor> outgoingConnectionAnchors = new ArrayList<ConnectionAnchor>();

        public CompositeNodeFigure() {
            setBorder(new LineBorder(1));
        }
View Full Code Here

      this.setLineWidth(1);
      this.setForegroundColor(ColorConstants.lightGray);
      this.setBackgroundColor(ColorConstants.white);
      this.setMinimumSize(new Dimension(getMapMode().DPtoLP(90),
          getMapMode().DPtoLP(60)));
      this.setBorder(new LineBorder(null, getMapMode().DPtoLP(1)));
      createContents();
    }
View Full Code Here

    l.setBackgroundColor(COLOR);
    l.setLabelAlignment(PositionConstants.LEFT);
    l.setIcon(labelProvider.getImage(getModel()));
    l.setIconTextGap(5);
    l.setIconAlignment(PositionConstants.TOP);
    l.setBorder(new LineBorder());
    return l;
  }
View Full Code Here

   */
  protected IFigure createFigure() {
    PolylineConnection conn = (PolylineConnection) super.createFigure();
    if (getTransitionModel().getActions().size() > 0) {
      label = new Label();
      label.setBorder(new LineBorder());
      label.setBackgroundColor(COLOR);
      label.setOpaque(true);
      label.setIcon(WebflowUIImages
          .getImage(WebflowUIImages.IMG_OBJS_ACTION));
      conn.add(label, new ConnectionLocator(conn));
View Full Code Here

      if (label != null && getFigure().getChildren().contains(label)) {
        getFigure().remove(label);
        label = null;
      }
      label = new Label();
      label.setBorder(new LineBorder());
      label.setBackgroundColor(COLOR);
      label.setOpaque(true);
      label.setIcon(WebflowUIImages
          .getImage(WebflowUIImages.IMG_OBJS_ACTION));
      /*
 
View Full Code Here

  protected IFigure createFigure() {
    Label l = new StateLabel();
    l.setBackgroundColor(COLOR);
    l.setLabelAlignment(PositionConstants.LEFT);
    l.setIcon(labelProvider.getImage(getModel()));
    l.setBorder(new LineBorder());
    return l;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.draw2d.LineBorder

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.