presentation.setEnabled(false);
final Project project = PlatformDataKeys.PROJECT.getData(dataContext);
if (project != null) {
final Sdk projectJdk = ProjectRootManager.getInstance(project).getProjectJdk();
if (projectJdk != null) {
<BUG>final CoverageSuiteImpl currentSuite = (CoverageSuiteImpl)CoverageDataManager.getInstance(project).getCurrentSuite();
if (currentSuite != null && currentSuite.getRunner().isHTMLReportSupported()) {</BUG>
presentation.setEnabled(true);
}
}

presentation.setEnabled(false);
final Project project = PlatformDataKeys.PROJECT.getData(dataContext);
if (project != null) {
final Sdk projectJdk = ProjectRootManager.getInstance(project).getProjectJdk();
if (projectJdk != null) {
final CoverageSuite currentSuite = CoverageDataManager.getInstance(project).getCurrentSuite();
if (currentSuite != null && currentSuite.getRunner().isHTMLReportSupported()) {
presentation.setEnabled(true);
