void () { boolean hasVcsFiltered = myViewExtension.hasVCSFilteredNodes(); boolean hasFullyCovered = myViewExtension.hasFullyCoveredNodes(); myTable.getTree().getEmptyText().clear(); final StatusText emptyText = myTable.getTable().getEmptyText(); emptyText.setText(CoverageBundle.message("coverage.view.no.coverage.results")); final RunConfigurationBase<?> configuration = mySuitesBundle.getRunConfiguration(); if (configuration != null) { emptyText.appendLine(CoverageBundle.message("coverage.view.edit.run.configuration.0") + " "); emptyText.appendText(CoverageBundle.message("coverage.view.edit.run.configuration.1"), SimpleTextAttributes.LINK_ATTRIBUTES, e -> { final RunnerAndConfigurationSettings configurationSettings = RunManager.getInstance(myProject).findSettings(configuration); if (configurationSettings != null) { RunDialog.editConfiguration(myProject, configurationSettings, ExecutionBundle.message("edit.run.configuration.for.item.dialog.title", configuration.getName())); } else { Messages.showErrorDialog(myProject, CoverageBundle.message("coverage.view.configuration.was.not.found", configuration.getName()), CommonBundle.getErrorTitle()); } }); emptyText.appendText(" " + CoverageBundle.message("coverage.view.edit.run.configuration.2")); } if (hasVcsFiltered && myStateBean.isShowOnlyModified()) { emptyText.appendLine(CoverageBundle.message("coverage.show.unmodified.elements", myViewExtension.getElementsName()), SimpleTextAttributes.LINK_ATTRIBUTES, e -> { myStateBean.setShowOnlyModified(false); resetView(); }); } if (hasFullyCovered && myStateBean.isHideFullyCovered()) { emptyText.appendLine(CoverageBundle.message("coverage.show.fully.covered.elements", myViewExtension.getElementsName()), SimpleTextAttributes.LINK_ATTRIBUTES, e -> { myStateBean.setHideFullyCovered(false); resetView(); }); } }