public boolean updateGridUI() {
    var isHidden = myViewContext.getLayoutSettings().isTabLabelsHidden();
    for (final GridCellImpl cell : myPlaceInGrid2Cell.values()) {
      if (isHidden) {
        cell.setHideTabs(cell.getContentCount() == 1);
      } else {
        cell.setHideTabs(myContents.size() == 1);
      }
    }

    final Content onlyContent = myContents.get(0);

    return onlyContent.getSearchComponent() != null;
  }
public boolean updateGridUI()