ChangeNodeDecorator () { return new ChangeNodeDecorator() { @Override public void decorate(@NotNull Change change, @NotNull SimpleColoredComponent component, boolean isShowFlatten) { } @Override public void preDecorate(@NotNull Change change, @NotNull ChangesBrowserNodeRenderer renderer, boolean showFlatten) { if (myAlreadyMerged.contains(change)) { renderer.append(" [" + message("label.already.merged") + "] ", SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES); } } }; }