* (non-Javadoc)
*
* @see org.eclipse.jst.pagedesigner.css2.layout.FlowFigureLayout#layout()
*/
protected void layoutChildren() {
ICSSWidgetProvider provider = getProvider();
// if we did endLine, then will result in context create a new line, so
// we may in the new line now.
// passing in the top margin, and context will consider that when
// creating the new line.
int suggestedWith = _blockBox.getContentWidth();
int suggestedHeight = _blockBox.getContentHeight();
// int suggestedWith = getSuggestedWidth(line, style, provider);
// int suggestedHeight = getSuggestedHeight(line, style, provider);
DimensionInfo resultInfo = provider.getPreferredDimension(
suggestedWith, suggestedHeight);
Dimension resultSize = resultInfo.getDimension();
_widgetBox = new WidgetBox(); // ((CSSWidgetFigure)getFlowFigure()).getWidgetBox();
// if (provider.isHandlingBorder() || style == null)