RunDashboardGroup (AbstractTreeNode<?> node) { Project project = node.getProject(); if (project != null && !PropertiesComponent.getInstance(project).getBoolean(getName(), true)) { return null; } if (node instanceof RunDashboardRunConfigurationNode) { RunnerAndConfigurationSettings configurationSettings = ((RunDashboardRunConfigurationNode)node).getConfigurationSettings(); ConfigurationType type = configurationSettings.getType(); return new RunDashboardGroupImpl<>(type, type.getDisplayName(), type.getIcon()); } return null; }