replace run tests action with run configuration
[idea/community.git] / python / educational-python / course-creator-python / src / com / jetbrains / edu / coursecreator / run / PyCCRunTestsConfigurationFactory.java
1 package com.jetbrains.edu.coursecreator.run;
2
3 import com.intellij.execution.configurations.ConfigurationFactory;
4 import com.intellij.execution.configurations.ConfigurationType;
5 import com.intellij.execution.configurations.RunConfiguration;
6 import com.intellij.openapi.project.Project;
7 import org.jetbrains.annotations.NotNull;
8
9 public class PyCCRunTestsConfigurationFactory extends ConfigurationFactory {
10   protected PyCCRunTestsConfigurationFactory(@NotNull ConfigurationType type) {
11     super(type);
12   }
13
14   @NotNull
15   @Override
16   public RunConfiguration createTemplateConfiguration(@NotNull Project project) {
17     return new PyCCRunTestConfiguration(project, this);
18   }
19 }