docRoots.add(docRoot);
}
}
if (docRoots.size() > 0) {
fLocalServerRadio = new SelectionButtonDialogField(SWT.RADIO);
fLocalServerRadio.setDialogFieldListener(this);
fLocalServerRadio.setLabelText(PHPUIMessages.PHPProjectWizardFirstPage_localServerLabel); //$NON-NLS-1$
fLocalServerRadio.setSelection(false);
fLocalServerRadio.doFillIntoGrid(group, numColumns);
fSeverLocationList = new ComboDialogField(SWT.READ_ONLY);
fSeverLocationList.setLabelText("Target directory");
fSeverLocationList.doFillIntoGrid(group, numColumns );
GridData data = (GridData) fSeverLocationList.getLabelControl(null).getLayoutData();
data.widthHint = 120;
fSeverLocationList.getLabelControl(null).setLayoutData(data);
fSeverLocationList.setEnabled(false);
docRootArray = new String[docRoots.size()];
docRoots.toArray(docRootArray);
fSeverLocationList.setItems(docRootArray);
fSeverLocationList.selectItem(initialSelection);
fLocalServerRadio.attachDialogField(fSeverLocationList);
fWorkspaceRadio.setSelection(false);
fLocalServerRadio.setSelection(true);
LayoutUtil.setHorizontalGrabbing(fSeverLocationList.getComboControl(null));
fCustomHost = new SelectionButtonDialogField(SWT.CHECK);
fCustomHost.setDialogFieldListener(this);
fCustomHost.setLabelText("Custom hostname:");
fCustomHost.doFillIntoGrid(group, numColumns-1);
fVirtualHost = new Text(group, SWT.SINGLE | SWT.BORDER);