void (@NotNull Project project, @NotNull Executor executor, @NotNull DataContext context) { RunManager runManager = RunManager.getInstance(project); RunnerAndConfigurationSettings selectedConfiguration = runManager.getSelectedConfiguration(); if (myConfigurations.contains(selectedConfiguration)) { runManager.setSelectedConfiguration(selectedConfiguration); ExecutionUtil.runConfiguration(selectedConfiguration, myExecutorProvider.getExecutor()); } }