added opportunity to create task files of all supported file types
[idea/community.git] / python / educational / course-creator / src / com / jetbrains / edu / coursecreator / StudyLanguageManager.java
1 package com.jetbrains.edu.coursecreator;
2
3 import com.intellij.ide.fileTemplates.FileTemplate;
4 import com.intellij.lang.LanguageExtension;
5 import com.intellij.openapi.project.Project;
6 import org.jetbrains.annotations.NotNull;
7 import org.jetbrains.annotations.Nullable;
8
9 public interface StudyLanguageManager {
10   LanguageExtension<StudyLanguageManager> INSTANCE = new LanguageExtension<StudyLanguageManager>("Edu.StudyLanguageManager");
11
12   @Nullable
13   String getDefaultTaskFileExtension();
14
15   @Nullable
16   FileTemplate getTaskFileTemplateForExtension(@NotNull final Project project, String extension);
17
18   @Nullable
19   FileTemplate getTestsTemplate(@NotNull final Project project);
20 }