ConvertProjectsWizard wizard = new ConvertProjectsWizard(applicableProjects, initialSelection,
"Convert to Bundle Project(s)", "Select project(s) to convert to Bundle project(s)\n"
+ "List contains open Java projects that are not yet bundle or content projects.");
final Display display = getDisplay();
final WizardDialog dialog = new WizardDialog(display.getActiveShell(), wizard);
BusyIndicator.showWhile(display, new Runnable() {
public void run() {
dialog.open();
}
});
if (dialog.getReturnCode()!=WizardDialog.OK) {
// user did not click OK
return;
}
final List<IProject> selectedProjects = wizard.getSelectedProjects();
if (selectedProjects == null || selectedProjects.size()==0) {