Package org.springframework.ide.eclipse.webflow.ui.graph.figures

Examples of org.springframework.ide.eclipse.webflow.ui.graph.figures.StateLabel


  /*
   * (non-Javadoc)
   * @see org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
   */
  protected IFigure createFigure() {
    Label l = new StateLabel();
    // l.setBorder(new MarginBorder(3, 5, 3, 0));
    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


  /**
   * @return
   * @see org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
   */
  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.springframework.ide.eclipse.webflow.ui.graph.figures.StateLabel

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.