}
projects = pythonProjects.toArray(new IProject[pythonProjects.size()]);
// Only allow the selection of projects, do not present directories
ILabelProvider labelProvider = new PythonLabelProvider();
ElementListSelectionDialog dialog = new ElementListSelectionDialog(getShell(), labelProvider);
dialog.setTitle("Project selection");
dialog.setMessage("Choose a project for the run");
dialog.setElements(projects);