private boolean isShowInDashboard() {
    ExecutionEnvironment environment = myBuildDescriptor.getExecutionEnvironment();
    RunProfile runProfile = environment != null ? environment.getRunProfile() : null;
    return runProfile instanceof RunConfiguration configuration &&
           RunDashboardManager.getInstance(myProject).isShowInDashboard(configuration) &&
           ExecutionManagerImpl.getDelegatedRunProfile(configuration) instanceof RunConfiguration;
  }
private boolean isShowInDashboard()