added course creation project type icon
authorLiana Bakradze <liana.bakradze@jetbrains.com>
Wed, 22 Oct 2014 08:32:34 +0000 (12:32 +0400)
committerLiana Bakradze <liana.bakradze@jetbrains.com>
Wed, 22 Oct 2014 08:32:34 +0000 (12:32 +0400)
python/edu/course-creator/resources/icons/CourseCreationProjectType.png [new file with mode: 0644]
python/edu/course-creator/resources/icons/CourseCreationProjectType@2x.png [new file with mode: 0644]
python/edu/course-creator/resources/icons/CourseCreationProjectType@2x_dark.png [new file with mode: 0644]
python/edu/course-creator/resources/icons/CourseCreationProjectType_dark.png [new file with mode: 0644]
python/edu/course-creator/src/icons/CourseCreatorIcons.java
python/edu/course-creator/src/org/jetbrains/plugins/coursecreator/CCProjectGenerator.java

diff --git a/python/edu/course-creator/resources/icons/CourseCreationProjectType.png b/python/edu/course-creator/resources/icons/CourseCreationProjectType.png
new file mode 100644 (file)
index 0000000..d770170
Binary files /dev/null and b/python/edu/course-creator/resources/icons/CourseCreationProjectType.png differ
diff --git a/python/edu/course-creator/resources/icons/CourseCreationProjectType@2x.png b/python/edu/course-creator/resources/icons/CourseCreationProjectType@2x.png
new file mode 100644 (file)
index 0000000..f6f4f91
Binary files /dev/null and b/python/edu/course-creator/resources/icons/CourseCreationProjectType@2x.png differ
diff --git a/python/edu/course-creator/resources/icons/CourseCreationProjectType@2x_dark.png b/python/edu/course-creator/resources/icons/CourseCreationProjectType@2x_dark.png
new file mode 100644 (file)
index 0000000..ec2d398
Binary files /dev/null and b/python/edu/course-creator/resources/icons/CourseCreationProjectType@2x_dark.png differ
diff --git a/python/edu/course-creator/resources/icons/CourseCreationProjectType_dark.png b/python/edu/course-creator/resources/icons/CourseCreationProjectType_dark.png
new file mode 100644 (file)
index 0000000..84f6fe0
Binary files /dev/null and b/python/edu/course-creator/resources/icons/CourseCreationProjectType_dark.png differ
index cd101d5afc33f4cc94c5ede66d26be7fd446721a..191ce0d55b3022141393d60ed4c8b5febe7dc11e 100644 (file)
@@ -13,5 +13,6 @@ public class CourseCreatorIcons {
     return IconLoader.getIcon(path, CourseCreatorIcons.class);
   }
 
+  public static final Icon CourseCreationProjectType = load("/icons/CourseCreationProjectType.png"); // 32x32
   public static final Icon Gutter = load("/icons/gutter.png"); // 16x16
 }
index dbaa7265f5c15b515c1e6a0a85c2a53ee52a7ed7..73e5bc7edf9309731c0ca9225515fa9d74026e76 100644 (file)
@@ -16,6 +16,7 @@ import com.intellij.platform.DirectoryProjectGenerator;
 import com.intellij.psi.PsiDirectory;
 import com.intellij.psi.PsiManager;
 import com.jetbrains.python.newProject.PythonProjectGenerator;
+import icons.CourseCreatorIcons;
 import org.jetbrains.annotations.Nls;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
@@ -44,7 +45,7 @@ public class CCProjectGenerator extends PythonProjectGenerator implements Direct
   @Nullable
   @Override
   public Icon getLogo() {
-    return null;
+    return CourseCreatorIcons.CourseCreationProjectType;
   }