separate action group for course creator project view actions
authorliana.bakradze <liana.bakradze@jetbrains.com>
Wed, 6 Apr 2016 14:52:27 +0000 (17:52 +0300)
committerliana.bakradze <liana.bakradze@jetbrains.com>
Wed, 6 Apr 2016 14:52:27 +0000 (17:52 +0300)
python/educational-core/course-creator/resources/META-INF/plugin.xml

index 9b90a825914ac1c23a7d9f7c7c5f73a6de75f349..971a70b3b76c8c931ba1a775c2f5099919b9edf8 100644 (file)
     <action id="AddTaskFile" class="com.jetbrains.edu.coursecreator.actions.CCAddAsTaskFile" text="Add As Task File">
       <add-to-group group-id="ProjectViewPopupMenu" anchor="first"/>
     </action>
+    <group id="CCProjectViewGroup">
+      <action id="DeleteAllPlaceholders" class="com.jetbrains.edu.coursecreator.actions.CCDeleteAllAnswerPlaceholdersAction"/>
+      <separator/>
+      <add-to-group group-id="ProjectViewPopupMenu" anchor="before" relative-to-action="CutCopyPasteGroup"/>
+    </group>
+
     <group id="AnswerPlaceholderGroup">
       <action id="AddTaskWindow" class="com.jetbrains.edu.coursecreator.actions.CCAddAnswerPlaceholder"/>
-       <separator/>
+      <reference ref="DeleteAllPlaceholders"/>
+      <separator/>
       <add-to-group group-id="EditorPopupMenu" anchor="first"/>
     </group>
     <action id="ShowTaskWindowDetails" class="com.jetbrains.edu.coursecreator.actions.CCShowAnswerPlaceholderDetails">
       <add-to-group group-id="ProjectViewPopupMenu" anchor="before" relative-to-action="CutCopyPasteGroup"/>
       <add-to-group group-id="FileMenu" relative-to-action="FileMainSettingsGroup" anchor="before"/>
     </action>
-
-    <action id="DeleteAllPlaceholders" class="com.jetbrains.edu.coursecreator.actions.CCDeleteAllAnswerPlaceholdersAction">
-      <add-to-group group-id="ProjectViewPopupMenu" anchor="before" relative-to-action="CutCopyPasteGroup"/>
-      <add-to-group group-id="EditorPopupMenu" anchor="after" relative-to-action="DeleteTaskWindow"/>
-    </action>
   </actions>
 
 </idea-plugin>
\ No newline at end of file