106a1e21acd70f9cc3a5c74d7598a004b0fe9b49
[idea/community.git] / python / educational-core / course-creator / resources / META-INF / plugin.xml
1 <idea-plugin version="2">
2   <id>com.jetbrains.edu.coursecreator</id>
3   <name>Course Creator Plugin</name>
4   <version>2.0.3</version>
5   <idea-version since-build="162.75"/>
6   <description><![CDATA[
7       Language independent part for creating courses.
8     ]]></description>
9   <vendor>JetBrains</vendor>
10
11   <change-notes><![CDATA[
12     ]]>
13   </change-notes>
14
15   <depends>com.intellij.modules.platform</depends>
16   <depends>com.jetbrains.edu.interactivelearning</depends>
17
18   <extensions defaultExtensionNs="com.intellij">
19     <projectService serviceImplementation="com.jetbrains.edu.coursecreator.CCProjectService"/>
20     <treeStructureProvider implementation="com.jetbrains.edu.coursecreator.projectView.CCTreeStructureProvider"/>
21     <refactoring.elementListenerProvider implementation="com.jetbrains.edu.coursecreator.CCRefactoringElementListenerProvider"/>
22     <refactoring.moveHandler implementation="com.jetbrains.edu.coursecreator.handlers.CCLessonMoveHandlerDelegate" order="first"/>
23     <refactoring.moveHandler implementation="com.jetbrains.edu.coursecreator.handlers.CCTaskMoveHandlerDelegate" order="first"/>
24     <renameHandler implementation="com.jetbrains.edu.coursecreator.handlers.CCTaskRenameHandler" order="first"/>
25     <renameHandler implementation="com.jetbrains.edu.coursecreator.handlers.CCLessonRenameHandler" order="first"/>
26     <applicationService serviceInterface="com.jetbrains.edu.coursecreator.settings.CCSettings"
27                         serviceImplementation="com.jetbrains.edu.coursecreator.settings.CCSettings"/>
28   </extensions>
29   <extensions defaultExtensionNs="Edu">
30     <studyActionsProvider implementation="com.jetbrains.edu.coursecreator.CCStudyActionsProvider"/>
31     <studyActionListener implementation="com.jetbrains.edu.coursecreator.CCStudyActionListener"/>
32     <optionsProvider instance="com.jetbrains.edu.coursecreator.settings.CCOptions"/>
33   </extensions>
34
35   <project-components>
36     <component>
37       <implementation-class>com.jetbrains.edu.coursecreator.CCProjectComponent</implementation-class>
38     </component>
39   </project-components>
40
41   <extensionPoints>
42     <extensionPoint qualifiedName="Edu.CCLanguageManager" beanClass="com.intellij.lang.LanguageExtensionPoint">
43       <with attribute="implementationClass" implements="com.jetbrains.edu.coursecreator.CCLanguageManager"/>
44     </extensionPoint>
45   </extensionPoints>
46
47   <actions>
48     <action id="CreateLesson" class="com.jetbrains.edu.coursecreator.actions.CCCreateLesson">
49       <add-to-group group-id="NewGroup" anchor="before" relative-to-action="NewFile"/>
50     </action>
51     <action id="CreateTask" class="com.jetbrains.edu.coursecreator.actions.CCCreateTask">
52       <add-to-group group-id="NewGroup" anchor="before" relative-to-action="NewFile"/>
53     </action>
54
55     <action id="ChangeCourseInfo" class="com.jetbrains.edu.coursecreator.PyCCChangeCourseInfo"/>
56
57     <group id="CCProjectViewGroup" popup="true" text="Course Creator" class="com.jetbrains.edu.coursecreator.actions.CCProjectViewActionGroup">
58       <action id="AddTaskFile" class="com.jetbrains.edu.coursecreator.actions.CCAddAsTaskFile" text="Make Visible to Student"/>
59       <action id="HideTaskFile" class="com.jetbrains.edu.coursecreator.actions.CCHideFromStudent" text="Hide from Student"/>
60       <action id="ShowPreview" class="com.jetbrains.edu.coursecreator.actions.CCShowPreview">
61         <add-to-group group-id="EditorTabPopupMenu"/>
62       </action>
63       <action id="PackCourse" class="com.jetbrains.edu.coursecreator.actions.CCCreateCourseArchive"/>
64       <action id="PushTask" class="com.jetbrains.edu.coursecreator.actions.CCPushTask"/>
65       <action id="PushLesson" class="com.jetbrains.edu.coursecreator.actions.CCPushLesson"/>
66       <action id="PushCourse" class="com.jetbrains.edu.coursecreator.actions.CCPushCourse"/>
67       <reference id="ChangeCourseInfo"/>
68       <add-to-group group-id="ProjectViewPopupMenu" anchor="before" relative-to-action="CutCopyPasteGroup"/>
69     </group>
70     
71     <group id="CCFileGroup" popup="true" text="Course Creator" class="com.jetbrains.edu.coursecreator.actions.CCFileActionGroup">
72       <reference id="ChangeCourseInfo"/>
73       <reference id="PackCourse"/>
74       <reference id="PushLesson"/>
75       <reference id="PushCourse"/>
76       <add-to-group group-id="FileMenu" relative-to-action="FileMainSettingsGroup" anchor="before"/>
77     </group>
78
79     <group id="AnswerPlaceholderGroup">
80       <action id="EditAnswerPlaceholder" class="com.jetbrains.edu.coursecreator.actions.CCEditAnswerPlaceholder"/>
81       <action id="AddTaskWindow" class="com.jetbrains.edu.coursecreator.actions.CCAddAnswerPlaceholder"/>
82       <action id="DeleteAllPlaceholders" class="com.jetbrains.edu.coursecreator.actions.CCDeleteAllAnswerPlaceholdersAction"/>
83       <separator/>
84       <add-to-group group-id="EditorPopupMenu" anchor="first"/>
85     </group>
86
87     <action id="UnpackCourse" class="com.jetbrains.edu.coursecreator.actions.CCFromCourseArchive"/>
88   </actions>
89
90
91 </idea-plugin>