if (result == WizardDialog.CANCEL) {
return WizardDialog.CANCEL;
}
}
INewWizard wizard = new ReviewIdSelectionWizard(reviewPhaseNameKey, project,
isMultipleChoiceEnabled);
IWorkbench workbench = PlatformUI.getWorkbench();
wizard.init(workbench, null);
// Instantiates the wizard container with the wizard and opens it
IWorkbenchWindow window = workbench.getActiveWorkbenchWindow();
WizardDialog dialog = new WizardDialog(window.getShell(), wizard);
dialog.create();
return dialog.open();