protected void showValidationErrorsOrSave(final WidgetContextSupport support, final Map<ProcessToolDataWidget, Collection<String>> validationErrors) {
showCancelTaskDialog(new PerformedActionParams(support, validationErrors, false));
}
private void showCancelTaskDialog(final PerformedActionParams params) {
CancelTaskDialog dialog = showDialog(new CancelTaskDialog());
dialog.getCancelTaskButton().addListener(new Button.ClickListener() {
@Override
public void buttonClick(Button.ClickEvent clickEvent) {
handleCancelTaskButtonClick(params);
}
});