void (ValidationResult validationResult) { cancelChecks(); myMainPanel.setVisible(true); myWarningLabel.setText(XmlStringUtil.wrapInHtml(validationResult.getErrorMessage())); myWarningLabel.setVisible(true); myCurrentQuickFix = validationResult.getQuickFix(); myQuickFixButton.setVisible(myCurrentQuickFix != null); if (myCurrentQuickFix != null) { String buttonText = myCurrentQuickFix.getFixButtonText(); myQuickFixButton.setText(buttonText != null ? buttonText : IdeBundle.message("button.facet.quickfix.text")); } changeValidity(false); }