Button browseDirectoriesButton = toolkit.createButton(browsingGroup, "B&rowse...", SWT.PUSH);
browseDirectoriesButton.setLayoutData(new GridData());
browseDirectoriesButton.addSelectionListener(new SelectionAdapter() {
public void widgetSelected(SelectionEvent e) {
MultiResourceSelectionDialog dialog = new MultiResourceSelectionDialog(
form.getShell(), multiPageEditor.getFile().getProject().getParent(),
"Component Engine Selection", multiPageEditor.getFile().getLocation(), multiPageEditor.cde);
dialog.setTitle("Component Engine Selection");
dialog.setMessage("Select one component engine from the workspace:");
dialog.open();
Object[] files = dialog.getResult();
if (files != null && files.length > 0) {
for (int i = 0; i < files.length; i++) {
FileAndShortName fsn = new FileAndShortName(files[i]);
updateTopDescriptor(fsn.fileName, !dialog.isImportByName);