void (@NotNull @NlsContexts.Label String message, @NotNull ProjectStructureProblemType.Severity severity, @NotNull List<? extends ConfigurationErrorQuickFix> quickFixes) { myErrorLabel.setVisible(true); myErrorLabel.setIcon(severity == ProjectStructureProblemType.Severity.ERROR ? AllIcons.General.Error : severity == ProjectStructureProblemType.Severity.WARNING ? AllIcons.General.Warning : AllIcons.General.Information); final String errorText = UIUtil.toHtml(message); if (myErrorLabel.isShowing()) { myErrorLabel.setText(errorText); } myErrorText = errorText; myMainPanel.setVisible(true); myCurrentQuickFixes = quickFixes; myFixButton.setVisible(!quickFixes.isEmpty()); if (!quickFixes.isEmpty()) { myFixButton.setText(quickFixes.size() == 1 ? ContainerUtil.getFirstItem(quickFixes, null).getActionName() : IdeBundle.message("button.fix")); } }