extracted placeholder actions into seperate package
authorLiana.Bakradze <liana.bakradze@jetbrains.com>
Wed, 26 Oct 2016 12:05:41 +0000 (15:05 +0300)
committerliana.bakradze <liana.bakradze@jetbrains.com>
Thu, 17 Nov 2016 14:08:33 +0000 (17:08 +0300)
12 files changed:
python/educational-core/course-creator/resources/META-INF/plugin.xml
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/placeholder/CCActivatePlaceholder.java [moved from python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/CCActivatePlaceholder.java with 96% similarity]
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/placeholder/CCAddAnswerPlaceholder.java [moved from python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/CCAddAnswerPlaceholder.java with 99% similarity]
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/placeholder/CCAnswerPlaceholderAction.java [moved from python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/CCAnswerPlaceholderAction.java with 98% similarity]
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/placeholder/CCChangePlaceholderVisibility.java [moved from python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/CCChangePlaceholderVisibility.java with 97% similarity]
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/placeholder/CCDeactivatePlaceholder.java [moved from python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/CCDeactivatePlaceholder.java with 96% similarity]
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/placeholder/CCDeleteAllAnswerPlaceholdersAction.java [moved from python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/CCDeleteAllAnswerPlaceholdersAction.java with 98% similarity]
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/placeholder/CCEditAnswerPlaceholder.java [moved from python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/CCEditAnswerPlaceholder.java with 96% similarity]
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/placeholder/CCHidePlaceholderFromPrevSubtasks.java [moved from python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/CCHidePlaceholderFromPrevSubtasks.java with 90% similarity]
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/placeholder/CCMakeVisibleForPrevSubtasks.java [moved from python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/CCMakeVisibleForPrevSubtasks.java with 90% similarity]
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/placeholder/CCSubtaskPlaceholderAction.java [moved from python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/actions/CCSubtaskPlaceholderAction.java with 98% similarity]
python/educational-core/course-creator/testSrc/com/jetbrains/edu/coursecreator/actions/CCAnswerPlaceholderActionTest.java

index c1151da124fcd39e6f07e8956f1d93549e877158..37c7704f87e150a5bacf260dc9a432e57aef71d0 100644 (file)
     </group>
 
     <group id="AnswerPlaceholderGroup">
-      <action id="CC.HideFromPrevSubtasks" class="com.jetbrains.edu.coursecreator.actions.CCHidePlaceholderFromPrevSubtasks"/>
-      <action id="CC.MakeVisibleFromPrevSubtasks" class="com.jetbrains.edu.coursecreator.actions.CCMakeVisibleForPrevSubtasks"/>
-      <action id="CC.ActivatePlaceholder" class="com.jetbrains.edu.coursecreator.actions.CCActivatePlaceholder"/>
-      <action id="CC.DeactivatePlaceholder" class="com.jetbrains.edu.coursecreator.actions.CCDeactivatePlaceholder" />
-      <action id="EditAnswerPlaceholder" class="com.jetbrains.edu.coursecreator.actions.CCEditAnswerPlaceholder"/>
-      <action id="AddTaskWindow" class="com.jetbrains.edu.coursecreator.actions.CCAddAnswerPlaceholder"/>
-      <action id="DeleteAllPlaceholders" class="com.jetbrains.edu.coursecreator.actions.CCDeleteAllAnswerPlaceholdersAction"/>
+      <action id="CC.HideFromPrevSubtasks" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCHidePlaceholderFromPrevSubtasks"/>
+      <action id="CC.MakeVisibleFromPrevSubtasks" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCMakeVisibleForPrevSubtasks"/>
+      <action id="CC.ActivatePlaceholder" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCActivatePlaceholder"/>
+      <action id="CC.DeactivatePlaceholder" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCDeactivatePlaceholder" />
+      <action id="EditAnswerPlaceholder" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCEditAnswerPlaceholder"/>
+      <action id="AddTaskWindow" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCAddAnswerPlaceholder"/>
+      <action id="DeleteAllPlaceholders" class="com.jetbrains.edu.coursecreator.actions.placeholder.CCDeleteAllAnswerPlaceholdersAction"/>
       <separator/>
       <add-to-group group-id="EditorPopupMenu" anchor="first"/>
     </group>
index 9ca2aa19733fa98235348eb6514032b0441ca6ff..d7c9a8fbc5b8b242bae40c8b3787423573db418d 100644 (file)
@@ -7,6 +7,7 @@ import com.intellij.openapi.project.Project;
 import com.intellij.openapi.vfs.VirtualFile;
 import com.jetbrains.edu.coursecreator.CCTestCase;
 import com.jetbrains.edu.coursecreator.CCTestsUtil;
+import com.jetbrains.edu.coursecreator.actions.placeholder.CCAddAnswerPlaceholder;
 import com.jetbrains.edu.learning.StudyUtils;
 import com.jetbrains.edu.learning.courseFormat.AnswerPlaceholder;
 import com.jetbrains.edu.learning.courseFormat.TaskFile;