@Override
public void run() {
IWorkbench workbench = PlatformUI.getWorkbench();
Shell shell = workbench.getActiveWorkbenchWindow().getShell();
NewMapReduceProjectWizard wizard = new NewMapReduceProjectWizard();
wizard.init(workbench, new StructuredSelection());
WizardDialog dialog = new WizardDialog(shell, wizard);
dialog.create();
dialog.open();
// did the wizard succeed?
notifyResult(dialog.getReturnCode() == Window.OK);