void (@NotNull Color background, @NotNull Color foreground, boolean isSelected, int availableWidth, @NotNull List<? extends RefGroup> refGroups) { myBackground = background; myForeground = foreground; updateHeight(); FontMetrics metrics = myComponent.getFontMetrics(getReferenceFont()); myGreyBackground = ExperimentalUI.isNewUI() ? null : calculateGreyBackground(refGroups, background, isSelected, myCompact); Pair<List<Pair<String, LabelIcon>>, Integer> presentation = calculatePresentation(refGroups, metrics, myGreyBackground != null ? myGreyBackground : myBackground, availableWidth, myCompact); myLabels = presentation.first; myWidth = presentation.second; }