EditorNotificationPanel (@NotNull @NlsContexts.LinkLabel String message, @NotNull FileEditor fileEditor, @NotNull ActionHandler fix) { EditorNotificationPanel panel = new EditorNotificationPanel(fileEditor, EditorNotificationPanel.Status.Warning); panel.setText(message); panel.createActionLabel(ProjectBundle.message("project.sdk.setup"), fix, true); return panel; }