Cosmetics Change hint navigation buttons text
authorValentina Kiryushkina <valentina.kiryushkina@jetbrains.com>
Tue, 26 Jul 2016 12:28:38 +0000 (15:28 +0300)
committerValentina Kiryushkina <valentina.kiryushkina@jetbrains.com>
Tue, 26 Jul 2016 15:52:59 +0000 (18:52 +0300)
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/ui/CCCreateAnswerPlaceholderPanel.java

index 34fc57c328ff2797ff2ef86743646ef130ca67c4..4f746d7e93ee70d46e3e03e0d6bef0044107cd88 100644 (file)
@@ -72,7 +72,7 @@ public class CCCreateAnswerPlaceholderPanel {
 
   private JComponent createHintToolbarComponent() {
     final DefaultActionGroup addRemoveGroup = new DefaultActionGroup();
-    addRemoveGroup.addAll(new AddHint(), new RemoveHint(), new GoForward(), new GoBackward());
+    addRemoveGroup.addAll(new AddHint(), new RemoveHint(), new ShowNext(), new ShowPrevious());
     return ActionManager.getInstance().createActionToolbar("Hint", addRemoveGroup, false).getComponent();
   }
 
@@ -125,10 +125,10 @@ public class CCCreateAnswerPlaceholderPanel {
     return myPanel;
   }
 
-  private class GoForward extends AnAction {
+  private class ShowNext extends AnAction {
 
-    public GoForward() {
-      super("Forward", "Forward", AllIcons.Actions.Forward);
+    public ShowNext() {
+      super("Next", "Next", AllIcons.Actions.Forward);
     }
 
     @Override
@@ -143,10 +143,10 @@ public class CCCreateAnswerPlaceholderPanel {
     }
   }
 
-  private class GoBackward extends AnAction {
+  private class ShowPrevious extends AnAction {
 
-    public GoBackward() {
-      super("Back", "Back", AllIcons.Actions.Back);
+    public ShowPrevious() {
+      super("Previous", "Previous", AllIcons.Actions.Back);
     }
 
     @Override