void (@NotNull FileColorManager manager, @Nullable @NlsContexts.Button String selectedColorName) { for (String id : manager.getColorIDs()) { addColorButton(id, manager.getColorName(id), Objects.requireNonNull(manager.getColor(id))); } addCustomColorButton(); setSelectedColor(selectedColorName); }