/** * Validate, commit and close the window if commit was successful. * Passes {@link #COMMIT_ACTION_ID} to associated {@link CloseListener}s * <p>Don't override this method in subclasses, use hooks {@link #postValidate(ValidationErrors)}, {@link #preCommit()} * and {@link #postCommit(boolean, boolean)} instead.</p> */ @Override public void commitAndClose() { closeWithCommit(); }