com.intellij.openapi.util.IconLoader



Project JetBrains/kotlin in file ....src.org.jetbrains.jet.plugin.JetIconProvider.java (2012-01-12)
@@ -1,6 +1,7 @@
 package org.jetbrains.jet.plugin;
 
 import com.intellij.ide.IconProvider;
+import com.intellij.openapi.util.IconLoader;
 import com.intellij.openapi.util.Iconable;
 import com.intellij.psi.PsiElement;
 import com.intellij.psi.util.PsiTreeUtil;
@@ -16,6 +17,7 @@ import javax.swing.*;
  */
 public class JetIconProvider extends IconProvider {
     public static final Icon ICON_FOR_OBJECT = PlatformIcons.ANONYMOUS_CLASS_ICON;
+    public static final Icon KOTLIN_ICON = IconLoader.getIcon("/org/jetbrains/jet/plugin/icons/kotlin16x16.png");
 
     @Override
     public Icon getIcon(@NotNull PsiElement psiElement, int flags) {
Project JetBrains/intellij-community in file ...ue.ui.treeStructure.actions.CollapseAllAction.java (2005-10-10)
@@ -6,6 +6,7 @@ package jetbrains.fabrique.ui.treeStructure.actions;
 
 import com.intellij.openapi.actionSystem.AnAction;
 import com.intellij.openapi.actionSystem.AnActionEvent;
+import com.intellij.openapi.util.IconLoader;
 
 import javax.swing.*;
 
@@ -14,7 +15,7 @@ public class CollapseAllAction extends AnAction {
   private JTree myTree;
 
   public CollapseAllAction(JTree tree) {
-    super("Collapse All", "", icons.inspector.collapseall.png.getIcon());
+    super("Collapse All", "", IconLoader.getIcon("/actions/collapseall.png"));
     myTree = tree;
   }
 
Project JetBrains/intellij-community in file ...ique.ui.treeStructure.actions.ExpandAllAction.java (2005-10-10)
@@ -6,6 +6,7 @@ package jetbrains.fabrique.ui.treeStructure.actions;
 
 import com.intellij.openapi.actionSystem.AnAction;
 import com.intellij.openapi.actionSystem.AnActionEvent;
+import com.intellij.openapi.util.IconLoader;
 
 import javax.swing.*;
 
@@ -14,7 +15,7 @@ public class ExpandAllAction extends AnAction {
   private JTree myTree;
 
   public ExpandAllAction(JTree tree) {
-    super("Expand All", "", icons.inspector.expandall.png.getIcon());
+    super("Expand All", "", IconLoader.getIcon("/actions/expandall.png"));
     myTree = tree;
   }
 
Project JetBrains/intellij-community in file ...favoritesTreeView.AddToNewFavoritesListAction.java (2005-03-03)
@@ -2,6 +2,7 @@ package com.intellij.ide.favoritesTreeView;
 
 import com.intellij.openapi.actionSystem.*;
 import com.intellij.openapi.project.Project;
+import com.intellij.openapi.util.IconLoader;
 
 /**
  * User: anna
@@ -9,7 +10,7 @@ import com.intellij.openapi.project.Project;
  */
 class AddToNewFavoritesListAction extends AnAction {
  public AddToNewFavoritesListAction() {
-   super("Add to New Favorites List");
+   super("Add To New Favorites List", "Add To New Favorites List", IconLoader.getIcon("/general/addFavoritesList.png"));
  }
 
  public void actionPerformed(AnActionEvent e) {
Project JetBrains/intellij-community in file ...ang-api.src.com.intellij.psi.impl.ElementBase.java (2010-05-12)
@@ -18,6 +18,7 @@ package com.intellij.psi.impl;
 
 import com.intellij.navigation.ItemPresentation;
 import com.intellij.openapi.diagnostic.Logger;
+import com.intellij.openapi.util.IconLoader;
 import com.intellij.openapi.util.Iconable;
 import com.intellij.openapi.util.UserDataHolderBase;
 import com.intellij.openapi.vfs.VirtualFile;
@@ -46,7 +47,7 @@ public abstract class ElementBase extends UserDataHolderBase implements Iconable
   private Map<Integer, Icon> myBaseIcon;
 
   private static final Icon VISIBILITY_ICON_PLACHOLDER = new EmptyIcon(Icons.PUBLIC_ICON);
-  private static final Icon ICON_PLACHOLDER = new EmptyIcon(Icons.CLASS_ICON);
+  private static final Icon ICON_PLACHOLDER = IconLoader.getIcon("/nodes/nodePlaceholder.png");
 
   @Nullable
   public Icon getIcon(int flags) {