Console.CONSTANTS.patch_manager_hide_details());
body.add(errorDetails);
body.add(new HTML("<h3 class=\"patch-followup-header\">" + Console.CONSTANTS
.patch_manager_possible_actions() + "</h3>"));
HTMLPanel actions = new HTMLPanel(TEMPLATES
.patchConflicts(Console.CONSTANTS.patch_manager_conflict_cancel_title(),
Console.CONSTANTS.patch_manager_conflict_cancel_body(),
Console.MESSAGES.patch_manager_conflict_override_title(),
Console.CONSTANTS.patch_manager_conflict_override_body()));
CheckBox overrideCheck = new CheckBox(Console.CONSTANTS.patch_manager_conflict_override_check());
overrideCheck.getElement().setId(asId(PREFIX, getClass(), "_Override"));
overrideCheck.addValueChangeHandler(new ValueChangeHandler<Boolean>() {
@Override
public void onValueChange(final ValueChangeEvent<Boolean> event) {
setEnabled(event.getValue(), true);
}
});
actions.add(overrideCheck, "patch-conflict-override");
body.add(actions);
return body;
}