return Utils.runSWTSync(new Callable<Integer>() {
public Integer call() {
WizardDialog wizardDialog = new CenteredWizardDialog(
parentShell, wizard, initialSize);
wizardDialog.setHelpAvailable(false);
return wizardDialog.open();
}
});
} catch (Exception e) {
log.warn("Error opening wizard " + wizard.getWindowTitle(), e);
}