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

Examples of org.springframework.ide.eclipse.beans.ui.graph.figures.BeanFigure


    Iterator beans = graph.nodes.iterator();
    while (beans.hasNext()) {
      Bean bean = (Bean) beans.next();

      // Calculate bean's dimension with a temporary bean figure
      BeanFigure dummy = new BeanFigure(bean);
      dummy.setFont(font);
      Dimension size = dummy.getPreferredSize();
      bean.width = size.width;
      bean.height = size.height;
      bean.preferredHeight = size.height;
    }
View Full Code Here


  }

  @Override
  protected IFigure createFigure() {
    Bean bean = getBean();
    BeanFigure figure = new BeanFigure(bean);
    return figure;
  }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.beans.ui.graph.figures.BeanFigure

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.