AnAction (@NotNull ConfigurationContext context, @NotNull List<? extends ConfigurationFromContext> configurationsFromContext) { return new AnAction( CommonBundle.message("action.text.run.all"), ExecutionBundle.message("run.all.configurations.available.in.this.context"), AllIcons.RunConfigurations.Compound ) { @Override public void actionPerformed(@NotNull AnActionEvent e) { long groupId = ExecutionEnvironment.getNextUnusedExecutionId(); List<ConfigurationType> types = ContainerUtil.map(configurationsFromContext, context1 -> context1.getConfiguration().getType()); promptUserToUseRunDashboard(context.getProject(), types); for (ConfigurationFromContext configuration : configurationsFromContext) { ExecutionUtil.runConfiguration(configuration.getConfigurationSettings(), myExecutor, groupId); } } }; }