MultiResourceSelectionDialog dialog = new MultiResourceSelectionDialog(getSection().getShell(),
editor.getFile().getProject().getParent(), "Flow Controller Selection", editor
.getFile().getLocation(), editor);
dialog.setTitle("Flow Controller Selection");
dialog.setMessage("Select a Flow Controller descriptor from the workspace:");
dialog.open();
Object[] files = dialog.getResult();
if (files != null && checkForOneSelection(files.length)) {
FileAndShortName fsn = new FileAndShortName(files[0]);
produceKeyAddFlowController(fsn.shortName, fsn.fileName, dialog.isImportByName);