reorganize answer placeholder actions
[idea/community.git] / python / educational-core / course-creator / resources / META-INF / plugin.xml
1 <idea-plugin>
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" order="last"/>
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     <highlightErrorFilter implementation="com.jetbrains.edu.coursecreator.CCHighlightErrorFilter"/>
29     <editorNotificationProvider implementation="com.jetbrains.edu.coursecreator.CCSubtaskEditorNotificationProvider"/>
30     <editorTabTitleProvider implementation="com.jetbrains.edu.coursecreator.CCTestsTabTitleProvider"/>
31   </extensions>
32   <extensions defaultExtensionNs="Edu">
33     <studyActionsProvider implementation="com.jetbrains.edu.coursecreator.CCStudyActionsProvider"/>
34     <studyActionListener implementation="com.jetbrains.edu.coursecreator.CCStudyActionListener"/>
35     <optionsProvider instance="com.jetbrains.edu.coursecreator.settings.CCOptions"/>
36     <studySubtaskChangeListener implementation="com.jetbrains.edu.coursecreator.CCSubtaskChangeListener"/>
37   </extensions>
38
39   <project-components>
40     <component>
41       <implementation-class>com.jetbrains.edu.coursecreator.CCProjectComponent</implementation-class>
42     </component>
43   </project-components>
44
45   <extensionPoints>
46     <extensionPoint qualifiedName="Edu.CCLanguageManager" beanClass="com.intellij.lang.LanguageExtensionPoint">
47       <with attribute="implementationClass" implements="com.jetbrains.edu.coursecreator.CCLanguageManager"/>
48     </extensionPoint>
49   </extensionPoints>
50
51   <actions>
52     <action id="CreateLesson" class="com.jetbrains.edu.coursecreator.actions.CCCreateLesson">
53       <add-to-group group-id="NewGroup" anchor="before" relative-to-action="NewFile"/>
54     </action>
55     <action id="CreateTask" class="com.jetbrains.edu.coursecreator.actions.CCCreateTask">
56       <add-to-group group-id="NewGroup" anchor="before" relative-to-action="NewFile"/>
57     </action>
58
59     <action id="ChangeCourseInfo" class="com.jetbrains.edu.coursecreator.actions.CCChangeCourseInfo"/>
60
61     <group id="CCProjectViewGroup" popup="true" text="Course Creator" class="com.jetbrains.edu.coursecreator.actions.CCProjectViewActionGroup">
62       <action id="AddTaskFile" class="com.jetbrains.edu.coursecreator.actions.CCAddAsTaskFile"/>
63       <action id="HideTaskFile" class="com.jetbrains.edu.coursecreator.actions.CCHideFromStudent"/>
64       <action id="ShowPreview" class="com.jetbrains.edu.coursecreator.actions.CCShowPreview">
65         <add-to-group group-id="EditorTabPopupMenu"/>
66       </action>
67       <action id="PackCourse" class="com.jetbrains.edu.coursecreator.actions.CCCreateCourseArchive"/>
68       <action id="PushTask" class="com.jetbrains.edu.coursecreator.actions.CCPushTask"/>
69       <action id="PushLesson" class="com.jetbrains.edu.coursecreator.actions.CCPushLesson"/>
70       <action id="PushCourse" class="com.jetbrains.edu.coursecreator.actions.CCPushCourse"/>
71       <reference id="ChangeCourseInfo"/>
72       <add-to-group group-id="ProjectViewPopupMenu" anchor="before" relative-to-action="CutCopyPasteGroup"/>
73     </group>
74     
75     <group id="CCFileGroup" popup="true" text="Course Creator" class="com.jetbrains.edu.coursecreator.actions.CCFileActionGroup">
76       <reference id="ChangeCourseInfo"/>
77       <reference id="PackCourse"/>
78       <reference id="PushLesson"/>
79       <reference id="PushCourse"/>
80       <add-to-group group-id="FileMenu" relative-to-action="FileMainSettingsGroup" anchor="before"/>
81     </group>
82
83     <action id="AddTaskWindow" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCAddAnswerPlaceholder">
84       <add-to-group group-id="EditorPopupMenu" anchor="first"/>
85     </action>
86
87     <group id="AnswerPlaceholderGroup" popup="true" text="Answer Placeholder" class="com.jetbrains.edu.coursecreator.CCAnswerPlaceholderActionGroup">
88       <action id="CC.HideFromPrevSubtasks" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCHidePlaceholderFromPrevSubtasks"/>
89       <action id="CC.MakeVisibleFromPrevSubtasks" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCMakeVisibleForPrevSubtasks"/>
90       <action id="CC.ActivatePlaceholder" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCActivatePlaceholder"/>
91       <action id="CC.DeactivatePlaceholder" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCDeactivatePlaceholder" />
92       <action id="EditAnswerPlaceholder" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCEditAnswerPlaceholder"/>
93       <action id="DeleteAnswerPlaceholder" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCDeleteAnswerPlaceholder" />
94       <action id="DeleteAllPlaceholders" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCDeleteAllAnswerPlaceholdersAction"/>
95       <add-to-group group-id="EditorPopupMenu" anchor="after" relative-to-action="AddTaskWindow"/>
96     </group>
97
98     <action id="UnpackCourse" class="com.jetbrains.edu.coursecreator.actions.CCFromCourseArchive"/>
99     <action id="GetCourse" class="com.jetbrains.edu.coursecreator.actions.CCGetCourseFromStepic"/>
100     <group id="CC.AddSubtaskGroup">
101       <action class="com.jetbrains.edu.coursecreator.actions.CCNewSubtaskAction" id="CC.NewStep"/>
102       <separator/>
103       <add-to-group group-id="EditorPopupMenu" relative-to-action="AnswerPlaceholderGroup" anchor="after"/>
104     </group>
105   </actions>
106
107
108 </idea-plugin>