added icon for special variables group
authorliana.bakradze <liana.bakradze@jetbrains.com>
Thu, 20 Aug 2015 13:20:52 +0000 (16:20 +0300)
committerliana.bakradze <liana.bakradze@jetbrains.com>
Thu, 20 Aug 2015 13:20:52 +0000 (16:20 +0300)
python/edu/gen/icons/PythonEducationalIcons.java
python/edu/resources/icons/com/jetbrains/edu/specialVar.png [new file with mode: 0644]
python/edu/resources/icons/com/jetbrains/edu/specialVar@2x.png [new file with mode: 0644]
python/edu/src/com/jetbrains/python/edu/debugger/PyEduStackFrame.java

index c8828ed8ae68ef4ff5a7b4ab1f0ae0002450f203..fb04abc3c3eb14c5de6439be9180930760618866 100644 (file)
@@ -14,4 +14,5 @@ public class PythonEducationalIcons {
   }
 
   public static final Icon Field = load("/icons/com/jetbrains/edu/Field.png"); // 16x16
+  public static final Icon SpecialVar = load("/icons/com/jetbrains/edu/specialVar.png"); // 16x16
 }
diff --git a/python/edu/resources/icons/com/jetbrains/edu/specialVar.png b/python/edu/resources/icons/com/jetbrains/edu/specialVar.png
new file mode 100644 (file)
index 0000000..25612ae
Binary files /dev/null and b/python/edu/resources/icons/com/jetbrains/edu/specialVar.png differ
diff --git a/python/edu/resources/icons/com/jetbrains/edu/specialVar@2x.png b/python/edu/resources/icons/com/jetbrains/edu/specialVar@2x.png
new file mode 100644 (file)
index 0000000..343e0b7
Binary files /dev/null and b/python/edu/resources/icons/com/jetbrains/edu/specialVar@2x.png differ
index f8b557e2b418bbe4adda8b91edff4a8fdf99160c..743a696144e18caa4b38aabf0094e7e41942dc14 100644 (file)
@@ -1,6 +1,5 @@
 package com.jetbrains.python.edu.debugger;
 
-import com.intellij.icons.AllIcons;
 import com.intellij.openapi.project.Project;
 import com.intellij.openapi.vfs.VirtualFile;
 import com.intellij.ui.ColoredTextContainer;
@@ -98,8 +97,7 @@ public class PyEduStackFrame extends PyStackFrame {
       @Nullable
       @Override
       public Icon getIcon() {
-        //TODO: get icon from designers
-        return AllIcons.Nodes.Artifact;
+        return PythonEducationalIcons.SpecialVar;
       }
 
       @Override