private Widget checkBoxEditor(final RuleAttribute at, final boolean isReadOnly) {
    final CheckBox box = new CheckBox();
    box.setEnabled(!isReadOnly);
    if (at.getValue() == null || at.getValue().isEmpty()) {
      box.setValue(false);
      at.setValue(FALSE_VALUE);
    } else {
      box.setValue((at.getValue().equals(TRUE_VALUE)));
    }

    box.addClickHandler(
        new ClickHandler() {
          public void onClick(ClickEvent event) {
            at.setValue((box.getValue()) ? TRUE_VALUE : FALSE_VALUE);
          }
        });
    return box;
  }
 @Override
 public void addCheckBoxHandler(ClickHandler handler) {
   cbCabecalho.addClickHandler(handler);
 }