icons.XpathIcons



API Populatity

1 Client projects

Project: icons

Project JetBrains/intellij-community in file ...ang.src.org.intellij.lang.xpath.XPathFileType.java (2012-08-30)
@@ -17,7 +17,7 @@ package org.intellij.lang.xpath;
 
 import com.intellij.lang.Language;
 import com.intellij.openapi.fileTypes.LanguageFileType;
-import com.intellij.openapi.util.IconLoader;
+import icons.XpathIcons;
 import org.jetbrains.annotations.NotNull;
 
 import javax.swing.*;
@@ -47,6 +47,6 @@ public final class XPathFileType extends LanguageFileType {
     }
 
     public Icon getIcon() {
-        return IconLoader.getIcon("/icons/xpath.png");
+        return XpathIcons.Xpath;
     }
 }
Project JetBrains/intellij-community in file ...intellij.lang.xpath.completion.FunctionLookup.java (2012-08-30)
@@ -16,8 +16,8 @@
 package org.intellij.lang.xpath.completion;
 
 import com.intellij.openapi.util.Comparing;
-import com.intellij.openapi.util.IconLoader;
 import com.intellij.openapi.util.Iconable;
+import icons.XpathIcons;
 import org.intellij.lang.xpath.context.functions.Function;
 
 import javax.swing.*;
@@ -53,7 +53,7 @@ public class FunctionLookup extends AbstractLookup implements Iconable {
     }
 
     public Icon getIcon(int flags) {
-        return IconLoader.getIcon("/icons/function.png");
+        return XpathIcons.Function;
     }
 
   @Override
Project JetBrains/intellij-community in file ...ntellij.lang.xpath.completion.NamespaceLookup.java (2012-08-30)
@@ -16,7 +16,7 @@
 package org.intellij.lang.xpath.completion;
 
 import com.intellij.openapi.util.Iconable;
-import com.intellij.openapi.util.IconLoader;
+import icons.XpathIcons;
 
 import javax.swing.*;
 
@@ -26,6 +26,6 @@ public class NamespaceLookup extends AbstractLookup implements Lookup, Iconable
     }
 
     public Icon getIcon(int flags) {
-        return IconLoader.getIcon("/icons/namespace.png");
+        return XpathIcons.Namespace;
     }
 }