public PHPBuildpathOrderingWorkbookPage(ListDialogField buildpathList) {
fBuildpathList = buildpathList;
}
public Control getControl(Composite parent) {
PixelConverter converter = new PixelConverter(parent);
Composite composite = new Composite(parent, SWT.NONE);
composite.setFont(parent.getFont());
LayoutUtil.doDefaultLayout(composite,
new DialogField[] { fBuildpathList }, true, SWT.DEFAULT,
SWT.DEFAULT);
LayoutUtil.setHorizontalGrabbing(fBuildpathList.getListControl(null));
int buttonBarWidth = converter.convertWidthInCharsToPixels(24);
fBuildpathList.setButtonsMinWidth(buttonBarWidth);
return composite;
}