code: protected void populateData(final T selectedBaseEntity) {
          this.selectedBaseEntity = selectedBaseEntity;
          editButton.setEnabled(selectedBaseEntity != null);
          manageMetadataBtn.setEnabled(selectedBaseEntity != null);
          if (selectedBaseEntity == null) {
              setName(getDefaultCaption(), "");
          } else {
              setName(getDefaultCaption(), getName());
          }
          populateLog();
          populateDescription();
          populateDetailsWidget();
      }
docs: If there is no data in table (i.e. no row selected), then disable the
  edit button. If row is selected, enable edit button.