separate action group for course creator project view actions
[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="143.403"/>
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     <treeStructureProvider implementation="com.jetbrains.edu.coursecreator.projectView.CCTreeStructureProvider"/>
20     <refactoring.elementListenerProvider implementation="com.jetbrains.edu.coursecreator.CCRefactoringElementListenerProvider"/>
21     <refactoring.moveHandler implementation="com.jetbrains.edu.coursecreator.handlers.CCLessonMoveHandlerDelegate" order="first"/>
22     <refactoring.moveHandler implementation="com.jetbrains.edu.coursecreator.handlers.CCTaskMoveHandlerDelegate" order="first"/>
23     <renameHandler implementation="com.jetbrains.edu.coursecreator.handlers.CCTaskRenameHandler" order="first"/>
24     <renameHandler implementation="com.jetbrains.edu.coursecreator.handlers.CCLessonRenameHandler" order="first"/>
25   </extensions>
26   <extensions defaultExtensionNs="Edu">
27     <studyActionsProvider implementation="com.jetbrains.edu.coursecreator.CCStudyActionsProvider"/>
28   </extensions>
29
30   <application-components>
31     <!-- Add your application components here -->
32   </application-components>
33
34   <project-components>
35     <component>
36       <implementation-class>com.jetbrains.edu.coursecreator.CCProjectComponent</implementation-class>
37     </component>
38   </project-components>
39
40   <extensionPoints>
41     <extensionPoint qualifiedName="Edu.CCLanguageManager" beanClass="com.intellij.lang.LanguageExtensionPoint">
42       <with attribute="implementationClass" implements="com.jetbrains.edu.coursecreator.CCLanguageManager"/>
43     </extensionPoint>
44   </extensionPoints>
45
46   <actions>
47     <action id="CreateLesson" class="com.jetbrains.edu.coursecreator.actions.CCCreateLesson">
48       <add-to-group group-id="NewGroup" anchor="before" relative-to-action="NewFile"/>
49     </action>
50     <action id="ChangeCourseInfo" class="com.jetbrains.edu.coursecreator.actions.CCChangeCourseInfo">
51       <add-to-group group-id="ProjectViewPopupMenu" anchor="before" relative-to-action="PackCourse"/>
52     </action>
53     <action id="CreateTask" class="com.jetbrains.edu.coursecreator.actions.CCCreateTask">
54       <add-to-group group-id="NewGroup" anchor="before" relative-to-action="NewFile"/>
55     </action>
56     <action id="CreateTaskFile" class="com.jetbrains.edu.coursecreator.actions.CCCreateTaskFile">
57       <add-to-group group-id="NewGroup" anchor="before" relative-to-action="NewFile"/>
58     </action>
59     <action id="AddTaskFile" class="com.jetbrains.edu.coursecreator.actions.CCAddAsTaskFile" text="Add As Task File">
60       <add-to-group group-id="ProjectViewPopupMenu" anchor="first"/>
61     </action>
62     <group id="CCProjectViewGroup">
63       <action id="DeleteAllPlaceholders" class="com.jetbrains.edu.coursecreator.actions.CCDeleteAllAnswerPlaceholdersAction"/>
64       <separator/>
65       <add-to-group group-id="ProjectViewPopupMenu" anchor="before" relative-to-action="CutCopyPasteGroup"/>
66     </group>
67
68     <group id="AnswerPlaceholderGroup">
69       <action id="AddTaskWindow" class="com.jetbrains.edu.coursecreator.actions.CCAddAnswerPlaceholder"/>
70       <reference ref="DeleteAllPlaceholders"/>
71       <separator/>
72       <add-to-group group-id="EditorPopupMenu" anchor="first"/>
73     </group>
74     <action id="ShowTaskWindowDetails" class="com.jetbrains.edu.coursecreator.actions.CCShowAnswerPlaceholderDetails">
75       <add-to-group group-id="EditorPopupMenu" anchor="before" relative-to-action="CopyReference"/>
76     </action>
77     <action id="ShowPreview" class="com.jetbrains.edu.coursecreator.actions.CCShowPreview">
78       <add-to-group group-id="ProjectViewPopupMenu" anchor="first"/>
79       <add-to-group group-id="EditorTabPopupMenu"/>
80     </action>
81     <action id="PackCourse" class="com.jetbrains.edu.coursecreator.actions.CCCreateCourseArchive">
82       <add-to-group group-id="ProjectViewPopupMenu" anchor="before" relative-to-action="CutCopyPasteGroup"/>
83       <add-to-group group-id="FileMenu" relative-to-action="FileMainSettingsGroup" anchor="before"/>
84     </action>
85     <action id="UnpackCourse" class="com.jetbrains.edu.coursecreator.actions.CCFromCourseArchive"/>
86     <action id="PushLesson" class="com.jetbrains.edu.coursecreator.actions.CCPushLesson">
87       <add-to-group group-id="ProjectViewPopupMenu" anchor="before" relative-to-action="CutCopyPasteGroup"/>
88       <add-to-group group-id="FileMenu" relative-to-action="FileMainSettingsGroup" anchor="before"/>
89     </action>
90     <action id="PushCourse" class="com.jetbrains.edu.coursecreator.actions.CCPushCourse">
91       <add-to-group group-id="ProjectViewPopupMenu" anchor="before" relative-to-action="CutCopyPasteGroup"/>
92       <add-to-group group-id="FileMenu" relative-to-action="FileMainSettingsGroup" anchor="before"/>
93     </action>
94   </actions>
95
96 </idea-plugin>