public void customize(@NotNull GraphCommitCell cell, boolean isSelected, boolean hasFocus, int row, int column) {
      clear();
      setPaintFocusBorder(false);
      acquireState(myGraphTable, isSelected, hasFocus, row, column);
      getCellState().updateRenderer(this);

      myPrintElements = cell.getPrintElements();
      myGraphWidth = getGraphWidth(myGraphTable, myPrintElements);

      SimpleTextAttributes style = myGraphTable.applyHighlighters(this, row, column, hasFocus, isSelected);

      Collection<VcsRef> refs = cell.getRefsToThisCommit();
      Collection<VcsBookmarkRef> bookmarks = cell.getBookmarksToThisCommit();
      Color labelForeground;
      if (ExperimentalUI.isNewUI()) {
        labelForeground = JBColor.namedColor("VersionControl.Log.Commit.Reference.foreground", CurrentBranchComponent.TEXT_COLOR);
      }
      else {
        labelForeground = isSelected
                          ? Objects.requireNonNull(myGraphTable.getBaseStyle(row, column, hasFocus, isSelected).getForeground())
                          : CurrentBranchComponent.TEXT_COLOR;
      }

      append(""); // appendTextPadding wont work without this
      if (myReferencePainter.isLeftAligned()) {
        myReferencePainter.customizePainter(refs, bookmarks, getBackground(), labelForeground, isSelected,
                                            getAvailableWidth(column, myGraphWidth));

        int referencesWidth = myReferencePainter.getSize().width;
        if (referencesWidth > 0) referencesWidth += LabelPainter.RIGHT_PADDING.get();
        appendTextPadding(myGraphWidth + referencesWidth);
        appendText(cell, style, isSelected);
      }
      else {
        appendTextPadding(myGraphWidth);
        appendText(cell, style, isSelected);
        myReferencePainter.customizePainter(refs, bookmarks, getBackground(), labelForeground, isSelected,
                                            getAvailableWidth(column, myGraphWidth));
      }
    }
public void customize(@NotNull GraphCommitCell cell, boolean isSelected, boolean hasFocus, int row, int column)