void (@NotNull List<? extends HtmlChunk> errors) { if (myIconLabel == null) { return; } boolean hasErrors = !myMarketplace && !errors.isEmpty(); myIconLabel.setEnabled(myMarketplace || myPluginModel.isEnabled(myPlugin)); myIconLabel.setIcon(myPluginModel.getIcon(myPlugin, true, hasErrors, false)); myIconLabel.setDisabledIcon(myPluginModel.getIcon(myPlugin, true, hasErrors, true)); }