moved everything python dependent to language part of plugin
[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 import java.io.File;
10
11 public interface StudyLanguageManager {
12   LanguageExtension<StudyLanguageManager> INSTANCE = new LanguageExtension<StudyLanguageManager>("Edu.StudyLanguageManager");
13
14   @Nullable
15   String getDefaultTaskFileExtension();
16
17   @Nullable
18   FileTemplate getTaskFileTemplateForExtension(@NotNull final Project project, String extension);
19
20   @Nullable
21   FileTemplate getTestsTemplate(@NotNull final Project project);
22
23   boolean packFile(File pathname);
24
25   String[] getAdditionalFilesToPack();
26 }