void (boolean favorite) { for (VcsRef ref : myReferences) { myDataPack.getLogProviders().get(ref.getRoot()).getReferenceManager().setFavorite(ref, favorite); } myIsFavorite = isFavorite(); updateIcons(); }