Package org.eclipse.draw2d

Examples of org.eclipse.draw2d.LayoutManager.layout()


   *            <LI>{@link org.eclipse.draw2d.PositionConstants#SOUTH}
   *            </UL>
   */
  public void automaticallyLayoutGraphs(int direction) {
    LayoutManager layoutMgr = new GraphLayoutManager(this, direction);
    layoutMgr.layout(getFigure());

    getFigure().setLayoutManager(new FreeformLayout());
    getFigure().revalidate();
  }

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.