ElementListSelectionDialog dialog = new ElementListSelectionDialog(getShell(), labelProvider);
dialog.setTitle("Project selection");
dialog.setMessage("Choose a project for the run");
dialog.setElements(projects);
dialog.open();
Object object = dialog.getFirstResult();
if ((object != null) && (object instanceof IProject)) {
IProject project = (IProject) object;
PythonNature pythonNature = PythonNature.getPythonNature(project);