WebProtegeDialog<ResetPasswordData> dlg = new WebProtegeDialog<ResetPasswordData>(controller);
dlg.setVisible(true);
}
private void resetPassword(ResetPasswordData data) {
dispatchService.execute(new ResetPasswordAction(data), new AbstractWebProtegeAsyncCallback<ResetPasswordResult>() {
@Override
public void onSuccess(ResetPasswordResult result) {
if (result.getResultCode() == ResetPasswordResultCode.SUCCESS) {
MessageBox.showMessage("Your password has been reset. " +