com.intellij.openapi.util.IconLoadercom.intellij.icons.AllIcons



Project JetBrains/intellij-community in file ...python.structureView.PyInheritedMembersFilter.java (2012-05-30)
@@ -1,5 +1,6 @@
 package com.jetbrains.python.structureView;
 
+import com.intellij.icons.AllIcons;
 import com.intellij.ide.IdeBundle;
 import com.intellij.ide.util.FileStructureFilter;
 import com.intellij.ide.util.treeView.smartTree.ActionPresentation;
@@ -7,7 +8,6 @@ import com.intellij.ide.util.treeView.smartTree.ActionPresentationData;
 import com.intellij.ide.util.treeView.smartTree.TreeElement;
 import com.intellij.openapi.actionSystem.Shortcut;
 import com.intellij.openapi.keymap.KeymapManager;
-import com.intellij.openapi.util.IconLoader;
 import org.jetbrains.annotations.NotNull;
 
 /**
@@ -46,7 +46,7 @@ public class PyInheritedMembersFilter implements FileStructureFilter {
   public ActionPresentation getPresentation() {
     return new ActionPresentationData(IdeBundle.message("action.structureview.show.inherited"),
                                       null,
-                                      IconLoader.getIcon("/hierarchy/supertypes.png"));
+                                      AllIcons.Hierarchy.Supertypes);
   }
 
   @Override
Project JetBrains/intellij-community in file ....intellij.compiler.impl.CompilerErrorTreeView.java (2012-05-30)
@@ -20,6 +20,7 @@ import com.intellij.codeInsight.daemon.impl.actions.SuppressForClassFix;
 import com.intellij.compiler.*;
 import com.intellij.compiler.options.CompilerConfigurable;
 import com.intellij.compiler.server.BuildManager;
+import com.intellij.icons.AllIcons;
 import com.intellij.ide.errorTreeView.*;
 import com.intellij.ide.util.treeView.NodeDescriptor;
 import com.intellij.openapi.actionSystem.*;
@@ -38,7 +39,6 @@ import com.intellij.openapi.projectRoots.JavaSdk;
 import com.intellij.openapi.projectRoots.JavaSdkVersion;
 import com.intellij.openapi.projectRoots.Sdk;
 import com.intellij.openapi.roots.ModuleRootManager;
-import com.intellij.openapi.util.IconLoader;
 import com.intellij.openapi.vcs.FileStatusManager;
 import com.intellij.openapi.vfs.LocalFileSystem;
 import com.intellij.openapi.vfs.VirtualFile;
@@ -79,7 +79,7 @@ public class CompilerErrorTreeView extends NewErrorTreeViewPanel {
   }
 
   private static class CompilerPropertiesAction extends AnAction {
-    private static final Icon ICON_OPTIONS = IconLoader.getIcon("/general/ideOptions.png");
+    private static final Icon ICON_OPTIONS = AllIcons.General.IdeOptions;
 
     public CompilerPropertiesAction() {
       super(CompilerBundle.message("action.compiler.properties.text"), null, ICON_OPTIONS);
Project JetBrains/intellij-community in file ...ntellij.compiler.options.CompilerConfigurable.java (2012-05-30)
@@ -21,6 +21,7 @@ import com.intellij.compiler.CompilerConfigurationImpl;
 import com.intellij.compiler.CompilerSettingsFactory;
 import com.intellij.compiler.impl.rmiCompiler.RmicConfiguration;
 import com.intellij.compiler.server.BuildManager;
+import com.intellij.icons.AllIcons;
 import com.intellij.openapi.compiler.CompilerBundle;
 import com.intellij.openapi.compiler.options.ExcludedEntriesConfigurable;
 import com.intellij.openapi.diagnostic.Logger;
@@ -31,7 +32,6 @@ import com.intellij.openapi.options.ConfigurationException;
 import com.intellij.openapi.options.SearchableConfigurable;
 import com.intellij.openapi.project.Project;
 import com.intellij.openapi.util.Comparing;
-import com.intellij.openapi.util.IconLoader;
 import com.intellij.openapi.vcs.FileStatusManager;
 import org.jetbrains.annotations.Nls;
 import org.jetbrains.annotations.NotNull;
@@ -47,7 +47,7 @@ public class CompilerConfigurable implements SearchableConfigurable.Parent, Conf
   private static final Logger LOG = Logger.getInstance("#com.intellij.compiler.options.CompilerConfigurable");
 
   private final Project myProject;
-  private static final Icon ICON = IconLoader.getIcon("/general/configurableCompiler.png");
+  private static final Icon ICON = AllIcons.General.ConfigurableCompiler;
   private final CompilerUIConfigurable myCompilerUIConfigurable;
   private Configurable[] myKids;
 
Project JetBrains/intellij-community in file ....packaging.impl.artifacts.InvalidArtifactType.java (2012-05-30)
@@ -15,8 +15,8 @@
  */
 package com.intellij.packaging.impl.artifacts;
 
+import com.intellij.icons.AllIcons;
 import com.intellij.openapi.components.ServiceManager;
-import com.intellij.openapi.util.IconLoader;
 import com.intellij.packaging.artifacts.ArtifactType;
 import com.intellij.packaging.elements.CompositePackagingElement;
 import com.intellij.packaging.elements.PackagingElementFactory;
@@ -29,7 +29,7 @@ import javax.swing.*;
  * @author nik
  */
 public class InvalidArtifactType extends ArtifactType {
-  public static final Icon ICON = IconLoader.getIcon("/fileTypes/unknown.png");
+  public static final Icon ICON = AllIcons.FileTypes.Unknown;
 
   public static InvalidArtifactType getInstance() {
     return ServiceManager.getService(InvalidArtifactType.class);
Project JetBrains/intellij-community in file ...ij.packaging.impl.artifacts.PlainArtifactType.java (2012-05-30)
@@ -15,8 +15,8 @@
  */
 package com.intellij.packaging.impl.artifacts;
 
+import com.intellij.icons.AllIcons;
 import com.intellij.openapi.compiler.CompilerBundle;
-import com.intellij.openapi.util.IconLoader;
 import com.intellij.packaging.artifacts.ArtifactType;
 import com.intellij.packaging.elements.CompositePackagingElement;
 import com.intellij.packaging.elements.PackagingElementOutputKind;
@@ -30,7 +30,7 @@ import javax.swing.*;
  * @author nik
  */
 public class PlainArtifactType extends ArtifactType {
-  public static final Icon ARTIFACT_ICON = IconLoader.getIcon("/nodes/artifact.png");
+  public static final Icon ARTIFACT_ICON = AllIcons.Nodes.Artifact;
   @NonNls public static final String ID = "plain";
 
   public static PlainArtifactType getInstance() {