void (@NotNull ObsoleteVcs vcs, @NotNull @NlsContexts.NotificationContent String message) { String title = VcsBundle.message("impl.notification.title.failed.to.install.plugin"); Notification notification = IMPORTANT_ERROR_NOTIFICATION .createNotification(title, message, NotificationType.ERROR) .setDisplayId(VcsNotificationIdsHolder.SUGGESTED_PLUGIN_INSTALL_FAILED) .addAction( NotificationAction.createSimple(VcsBundle.messagePointer("action.NotificationAction.AllVcses.text.open.plugin.page"), () -> { BrowserUtil.browse(vcs.pluginUrl); })); VcsNotifier.getInstance(myProject).notify(notification); }