RunDashboardGroup (AbstractTreeNode<?> node) { Project project = node.getProject(); if (project != null && !PropertiesComponent.getInstance(project).getBoolean(getName(), false)) { return null; } if (node instanceof RunDashboardRunConfigurationNode runConfigurationNode) { RunDashboardRunConfigurationStatus status = runConfigurationNode.getStatus(); return new RunDashboardGroupImpl<>(status, status.getName(), status.getIcon()); } return null; }