IFile targetResource = ResourceUtil.getFile(editor.getEditorInput());
try {
Project project = LaunchUtils.getBndProject(targetResource);
RunExportSelectionWizard wizard = new RunExportSelectionWizard(configElems, model, project);
WizardDialog dialog = new WizardDialog(parentShell, wizard);
dialog.open();
} catch (CoreException e) {
ErrorDialog.openError(parentShell, "Error", null, new Status(IStatus.ERROR, Plugin.PLUGIN_ID, 0, "Error deriving Bnd project.", e));