GutterIconRenderer (@NotNull final @NlsContexts.Tooltip String text, @NotNull final Icon icon, boolean ctrlClickVisible, @NotNull final Runnable perform) { @Nls String appendix = ctrlClickVisible ? DiffBundle.message("tooltip.merge.ctrl.click.to.resolve.conflict") : null; final String tooltipText = DiffUtil.createTooltipText(text, appendix); return new DiffGutterRenderer(icon, tooltipText) { @Override protected void handleMouseClick() { perform.run(); } }; }