org.eclipse.gmf.graphdef.editor.edit.policies
Class GridLayoutHelper

java.lang.Object
  extended by org.eclipse.gmf.graphdef.editor.edit.policies.GridLayoutHelper

public class GridLayoutHelper
extends Object


Constructor Summary
GridLayoutHelper(AbstractFigureEditPart host)
           
 
Method Summary
 org.eclipse.draw2d.geometry.Rectangle getFeedbackBounds(org.eclipse.draw2d.geometry.Point where, org.eclipse.draw2d.IFigure childFigure)
           
 org.eclipse.draw2d.IFigure[][] getGrid()
           
 org.eclipse.draw2d.GridLayout getGridLayout()
           
 int[] getHeights()
           
 int getNewChildPosition(org.eclipse.draw2d.geometry.Point where)
           
 int[] getWidths()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridLayoutHelper

public GridLayoutHelper(AbstractFigureEditPart host)
Method Detail

getGrid

public org.eclipse.draw2d.IFigure[][] getGrid()

getWidths

public int[] getWidths()

getHeights

public int[] getHeights()

getGridLayout

public org.eclipse.draw2d.GridLayout getGridLayout()

getNewChildPosition

public int getNewChildPosition(org.eclipse.draw2d.geometry.Point where)

getFeedbackBounds

public org.eclipse.draw2d.geometry.Rectangle getFeedbackBounds(org.eclipse.draw2d.geometry.Point where,
                                                               org.eclipse.draw2d.IFigure childFigure)


Copyright © 2012. All Rights Reserved.