com.intellij.openapi.util.IconLoadericons.PythonIcons



Project JetBrains/intellij-community in file ...rc.com.jetbrains.python.facet.PythonFacetType.java (2012-08-30)
@@ -9,12 +9,12 @@ import com.intellij.openapi.module.Module;
 import com.intellij.openapi.module.ModuleType;
 import com.intellij.openapi.projectRoots.ProjectJdkTable;
 import com.intellij.openapi.projectRoots.Sdk;
-import com.intellij.openapi.util.IconLoader;
 import com.intellij.patterns.ElementPattern;
 import com.intellij.util.indexing.FileContent;
 import com.jetbrains.python.PythonFileType;
 import com.jetbrains.python.module.PythonModuleType;
 import com.jetbrains.python.sdk.PythonSdkType;
+import icons.PythonIcons;
 import org.jetbrains.annotations.NonNls;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
@@ -26,7 +26,7 @@ import java.util.List;
  * @author yole
  */
 public class PythonFacetType extends FacetType<PythonFacet, PythonFacetConfiguration> {
-  public static final Icon ICON = IconLoader.getIcon("/com/jetbrains/python/icons/python.png");
+  public static final Icon ICON = PythonIcons.Python.Icons.Python;
 
   @NonNls
   private static final String ID = "Python";
Project JetBrains/intellij-community in file ...src.com.jetbrains.pyqt.QtTranslationsFileType.java (2012-08-30)
@@ -1,7 +1,7 @@
 package com.jetbrains.pyqt;
 
 import com.intellij.openapi.fileTypes.FileType;
-import com.intellij.openapi.util.IconLoader;
+import icons.PythonIcons;
 
 /**
  * @author yole
@@ -10,7 +10,7 @@ public class QtTranslationsFileType extends QtFileType implements FileType {
   public static QtTranslationsFileType INSTANCE = new QtTranslationsFileType();
 
   protected QtTranslationsFileType() {
-    super("Qt translations file", "Qt Linguist translations files", "ts", IconLoader.getIcon("/com/jetbrains/pyqt/tsFile.png"));
+    super("Qt translations file", "Qt Linguist translations files", "ts", PythonIcons.Pyqt.TsFile);
   }
 
   protected String getToolName() {
Project JetBrains/intellij-community in file ...8c/python.src.com.jetbrains.pyqt.QtUIFileType.java (2012-08-30)
@@ -1,7 +1,7 @@
 package com.jetbrains.pyqt;
 
 import com.intellij.openapi.fileTypes.FileType;
-import com.intellij.openapi.util.IconLoader;
+import icons.PythonIcons;
 
 /**
  * @author yole
@@ -10,7 +10,7 @@ public class QtUIFileType extends QtFileType implements FileType {
   public static QtUIFileType INSTANCE = new QtUIFileType();
 
   protected QtUIFileType() {
-    super("Qt UI file", "Qt UI Designer form files", "ui", IconLoader.getIcon("/com/jetbrains/pyqt/uiForm.png"));
+    super("Qt UI file", "Qt UI Designer form files", "ui", PythonIcons.Pyqt.UiForm);
   }
 
   protected String getToolName() {
Project JetBrains/intellij-community in file ...m.jetbrains.python.buildout.BuildoutFacetType.java (2012-08-30)
@@ -6,8 +6,8 @@ import com.intellij.facet.FacetTypeId;
 import com.intellij.facet.FacetTypeRegistry;
 import com.intellij.openapi.module.Module;
 import com.intellij.openapi.module.ModuleType;
-import com.intellij.openapi.util.IconLoader;
 import com.jetbrains.python.PythonModuleTypeBase;
+import icons.PythonIcons;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
 
@@ -48,7 +48,7 @@ public class BuildoutFacetType extends FacetType<BuildoutFacet, BuildoutFacetCon
     return (BuildoutFacetType)FacetTypeRegistry.getInstance().findFacetType(ID);
   }
 
-  public final static Icon BUILDOUT_ICON = IconLoader.getIcon("/com/jetbrains/python/icons/buildout/buildout.png");
+  public final static Icon BUILDOUT_ICON = PythonIcons.Python.Icons.Buildout.Buildout;
 
   @Override
   public Icon getIcon() {
Project JetBrains/intellij-community in file ...python.console.PythonDebugLanguageConsoleView.java (2012-08-30)
@@ -20,7 +20,7 @@ import com.intellij.openapi.editor.ScrollType;
 import com.intellij.openapi.project.DumbAware;
 import com.intellij.openapi.project.Project;
 import com.intellij.openapi.projectRoots.Sdk;
-import com.intellij.openapi.util.IconLoader;
+import icons.PythonIcons;
 import org.jetbrains.annotations.NotNull;
 
 import javax.swing.*;
@@ -218,7 +218,7 @@ public class PythonDebugLanguageConsoleView extends JPanel implements ConsoleVie
 
     public ShowDebugConsoleAction(final PythonDebugLanguageConsoleView console) {
       super(ExecutionBundle.message("run.configuration.show.command.line.action.name"), null,
-            IconLoader.getIcon("/com/jetbrains/python/icons/debug/commandLine.png"));
+            PythonIcons.Python.Icons.Debug.CommandLine);
       myConsole = console;
     }