added tool windows icons
authorLiana Bakradze <liana.bakradze@jetbrains.com>
Tue, 25 Aug 2015 17:23:44 +0000 (20:23 +0300)
committerLiana Bakradze <liana.bakradze@jetbrains.com>
Wed, 26 Aug 2015 09:39:05 +0000 (12:39 +0300)
python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress.png [new file with mode: 0644]
python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress@2x.png [new file with mode: 0644]
python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress@2x_dark.png [new file with mode: 0644]
python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress_dark.png [new file with mode: 0644]
python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription.png [new file with mode: 0644]
python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription@2x.png [new file with mode: 0644]
python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription@2x_dark.png [new file with mode: 0644]
python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription_dark.png [new file with mode: 0644]
python/educational/interactive-learning/src/com/jetbrains/edu/learning/ui/StudyProgressToolWindowFactory.java
python/educational/interactive-learning/src/com/jetbrains/edu/learning/ui/StudyToolWindowFactory.java
python/educational/interactive-learning/src/icons/InteractiveLearningIcons.java

diff --git a/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress.png b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress.png
new file mode 100644 (file)
index 0000000..d4855d1
Binary files /dev/null and b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress.png differ
diff --git a/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress@2x.png b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress@2x.png
new file mode 100644 (file)
index 0000000..4b9fae9
Binary files /dev/null and b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress@2x.png differ
diff --git a/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress@2x_dark.png b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress@2x_dark.png
new file mode 100644 (file)
index 0000000..f147a4f
Binary files /dev/null and b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress@2x_dark.png differ
diff --git a/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress_dark.png b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress_dark.png
new file mode 100644 (file)
index 0000000..d7c9b3b
Binary files /dev/null and b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/CourseProgress_dark.png differ
diff --git a/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription.png b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription.png
new file mode 100644 (file)
index 0000000..45b8651
Binary files /dev/null and b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription.png differ
diff --git a/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription@2x.png b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription@2x.png
new file mode 100644 (file)
index 0000000..f136a2a
Binary files /dev/null and b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription@2x.png differ
diff --git a/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription@2x_dark.png b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription@2x_dark.png
new file mode 100644 (file)
index 0000000..3ce9b0b
Binary files /dev/null and b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription@2x_dark.png differ
diff --git a/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription_dark.png b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription_dark.png
new file mode 100644 (file)
index 0000000..345e8c9
Binary files /dev/null and b/python/educational/interactive-learning/resources/icons/com/jetbrains/edu/learning/TaskDescription_dark.png differ
index cf5a6b017a7951da5b788ec0b58bc7f9e69ce0df..e00fc14131e39fe5670c7fdbd1706760b18889f7 100644 (file)
@@ -13,6 +13,7 @@ import com.jetbrains.edu.courseFormat.Lesson;
 import com.jetbrains.edu.courseFormat.Task;
 import com.jetbrains.edu.learning.StudyTaskManager;
 import com.jetbrains.edu.learning.courseFormat.StudyStatus;
+import icons.InteractiveLearningIcons;
 import org.jetbrains.annotations.NotNull;
 
 import javax.swing.*;
@@ -25,6 +26,7 @@ public class StudyProgressToolWindowFactory implements ToolWindowFactory, DumbAw
 
   @Override
   public void createToolWindowContent(@NotNull final Project project, @NotNull final ToolWindow toolWindow) {
+    toolWindow.setIcon(InteractiveLearningIcons.CourseProgress);
     JPanel contentPanel = new JPanel();
     StudyTaskManager taskManager = StudyTaskManager.getInstance(project);
     if (taskManager.getCourse() != null) {
index d847b46064688faca71dd4b66bac02d2c84de313..9143154e931a7895554be4432c24302fc8f32d15 100644 (file)
@@ -9,6 +9,7 @@ import com.intellij.ui.content.Content;
 import com.intellij.ui.content.ContentManager;
 import com.jetbrains.edu.courseFormat.Course;
 import com.jetbrains.edu.learning.StudyTaskManager;
+import icons.InteractiveLearningIcons;
 import org.jetbrains.annotations.NotNull;
 
 public class StudyToolWindowFactory implements ToolWindowFactory, DumbAware {
@@ -17,6 +18,7 @@ public class StudyToolWindowFactory implements ToolWindowFactory, DumbAware {
 
   @Override
   public void createToolWindowContent(@NotNull final Project project, @NotNull final ToolWindow toolWindow) {
+    toolWindow.setIcon(InteractiveLearningIcons.TaskDescription);
     StudyTaskManager taskManager = StudyTaskManager.getInstance(project);
     final Course course = taskManager.getCourse();
     if (course != null) {
index 299bbd5567c97864544d5af2bcca0168c56c6a0c..714949abdea1597e0319170fad31dcd3595c1ee7 100644 (file)
@@ -13,6 +13,7 @@ public class InteractiveLearningIcons {
     return IconLoader.getIcon(path, InteractiveLearningIcons.class);
   }
 
+  public static final Icon CourseProgress = load("/icons/com/jetbrains/edu/learning/CourseProgress.png"); // 13x13
   public static final Icon InterpreterGear = load("/icons/com/jetbrains/edu/learning/interpreterGear.png"); // 16x16
   public static final Icon LessonCompl = load("/icons/com/jetbrains/edu/learning/LessonCompl.png"); // 16x16
   public static final Icon Prev = load("/icons/com/jetbrains/edu/learning/prev.png"); // 16x16
@@ -20,6 +21,7 @@ public class InteractiveLearningIcons {
   public static final Icon Sandbox = load("/icons/com/jetbrains/edu/learning/Sandbox.png"); // 16x16
   public static final Icon ShowHint = load("/icons/com/jetbrains/edu/learning/showHint.png"); // 16x16
   public static final Icon TaskCompl = load("/icons/com/jetbrains/edu/learning/TaskCompl.png"); // 16x16
+  public static final Icon TaskDescription = load("/icons/com/jetbrains/edu/learning/TaskDescription.png"); // 13x13
   public static final Icon TaskProbl = load("/icons/com/jetbrains/edu/learning/TaskProbl.png"); // 16x16
   public static final Icon WatchInput = load("/icons/com/jetbrains/edu/learning/WatchInput.png"); // 24x24
 }