Package org.csstudio.opibuilder.util
Class GeometryUtil
java.lang.Object
org.csstudio.opibuilder.util.GeometryUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.draw2d.geometry.Rectangle
getChildrenRange
(AbstractContainerEditpart container) Get the range of children widgets.
-
Constructor Details
-
GeometryUtil
public GeometryUtil()
-
-
Method Details
-
getChildrenRange
public static org.eclipse.draw2d.geometry.Rectangle getChildrenRange(AbstractContainerEditpart container) Get the range of children widgets.- Parameters:
container
- editpart of the container widget.- Returns:
- the range (minX, minY, maxX-minX, maxY-minY) relative to the container.
-