- // Session session = null;
- // try {
- // session = repository.login();
- // UserBatchUpdateWizard userBatchUpdateWizard = new
- // UserBatchUpdateWizard(
- // session, userAdminService);
- // WizardDialog dialog = new WizardDialog(
- // HandlerUtil.getActiveShell(event), userBatchUpdateWizard);
- // dialog.open();
- // } catch (Exception e) {
- // throw new ExecutionException("Cannot open wizard", e);
- // } finally {
- // JcrUtils.logoutQuietly(session);
- // }
+ UserBatchUpdateWizard wizard = new UserBatchUpdateWizard(uaWrapper);
+ wizard.setWindowTitle("User batch processing");
+ WizardDialog dialog = new WizardDialog(
+ HandlerUtil.getActiveShell(event), wizard);
+ dialog.open();