EDU-246 Add tooltips to hint field and buttons
authorValentina Kiryushkina <valentina.kiryushkina@jetbrains.com>
Mon, 25 Jul 2016 09:35:23 +0000 (12:35 +0300)
committerValentina Kiryushkina <valentina.kiryushkina@jetbrains.com>
Mon, 25 Jul 2016 16:25:34 +0000 (19:25 +0300)
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/ui/CCCreateAnswerPlaceholderPanel.form
python/educational-core/course-creator/src/com/jetbrains/edu/coursecreator/ui/CCCreateAnswerPlaceholderPanel.java

index d10bea0e75dc219df1e164f6e5ef80b36f5f12e1..1238ac49d4bbb3c16740276c7d7b5ceff0fe54b4 100644 (file)
@@ -57,6 +57,7 @@
             <properties>
               <alignmentX value="0.5"/>
               <text value=""/>
+              <toolTipText value="To add the first hint type its text here"/>
             </properties>
           </component>
           <grid id="4a2a2" binding="actionsPanel" layout-manager="BorderLayout" hgap="0" vgap="0">
index bbd48a859f3407a8928f4d5303655b3586cc773c..469f7162123ace5c971d411dd19b86b2f34e6842 100644 (file)
@@ -111,7 +111,7 @@ public class CCCreateAnswerPlaceholderPanel extends JPanel {
   private class GoForward extends AnAction {
 
     public GoForward() {
-      super(AllIcons.Actions.Forward);
+      super("Forward", "Forward", AllIcons.Actions.Forward);
     }
 
     @Override
@@ -130,7 +130,7 @@ public class CCCreateAnswerPlaceholderPanel extends JPanel {
   private class GoBackward extends AnAction {
 
     public GoBackward() {
-      super(AllIcons.Actions.Back);
+      super("Back", "Back", AllIcons.Actions.Back);
     }
 
     @Override
@@ -149,7 +149,7 @@ public class CCCreateAnswerPlaceholderPanel extends JPanel {
   private class AddHint extends AnAction {
 
     public AddHint() {
-      super(AllIcons.General.Add);
+      super("Add New Hint", "Add New Hint", AllIcons.General.Add);
     }
 
     @Override
@@ -164,7 +164,7 @@ public class CCCreateAnswerPlaceholderPanel extends JPanel {
   private class RemoveHint extends AnAction {
 
     public RemoveHint() {
-      super(AllIcons.General.Remove);
+      super("Remove Hint", "Remove Hint", AllIcons.General.Remove);
     }
 
     @Override