void (@NotNull PresentationData presentation) { RunnerAndConfigurationSettings configurationSettings = getConfigurationSettings(); //noinspection ConstantConditions boolean isStored = RunManager.getInstance(getProject()).hasSettings(configurationSettings); SimpleTextAttributes nameAttributes; if (isStored) { nameAttributes = getContent() != null ? SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES : SimpleTextAttributes.REGULAR_ATTRIBUTES; } else { nameAttributes = SimpleTextAttributes.GRAYED_BOLD_ATTRIBUTES; } presentation.addText(configurationSettings.getName(), nameAttributes); Icon icon = getIcon(configurationSettings); presentation.setIcon(isStored ? icon : IconLoader.createLazy(() -> IconLoader.getDisabledIcon(icon))); for (RunDashboardCustomizer customizer : myCustomizers) { if (customizer.updatePresentation(presentation, this)) { return; } } }