package com.intellij.plugins.haxe;

import com.intellij.icons.AllIcons;
import com.intellij.openapi.util.IconLoader;

import javax.swing.*;

public interface HaxeIcons {
  Icon NMML_ICON_16x16 = IconLoader.getIcon("/icons/nmml_16.png");
  Icon HAXE_ICON_16x16 = IconLoader.getIcon("/icons/haXe_16.png");
  Icon HAXE_ICON_24x24 = IconLoader.getIcon("/icons/haXe_24.png");

  Icon CLASS_ICON = IconLoader.getIcon("/icons/C_haXe.png");
  Icon ENUM_ICON = IconLoader.getIcon("/icons/E_haXe.png");
  Icon INTERFACE_ICON = IconLoader.getIcon("/icons/I_haXe.png");
  Icon TYPEDEF_ICON = AllIcons.Nodes.Annotationtype;
}

@@ -68,53 +68,8 @@
 ons;
-%0Aimport com.intellij.openapi.util.IconLoader;
 %0A%0Aim
@@ -147,48 +147,31 @@
 6 = 
-IconLoader.getIcon(%22/icons/nmml_16.png%22)
+icons.HaxeIcons.Nmml_16
 ;%0A  
@@ -197,48 +197,31 @@
 6 = 
-IconLoader.getIcon(%22/icons/haXe_16.png%22)
+icons.HaxeIcons.HaXe_16
 ;%0A  
@@ -247,48 +247,31 @@
 4 = 
-IconLoader.getIcon(%22/icons/haXe_24.png%22)
+icons.HaxeIcons.HaXe_24
 ;%0A%0A 
@@ -293,47 +293,30 @@
 N = 
-IconLoader.getIcon(%22/icons/C_haXe.png%22)
+icons.HaxeIcons.C_haXe
 ;%0A  
@@ -336,47 +336,30 @@
 N = 
-IconLoader.getIcon(%22/icons/E_haXe.png%22)
+icons.HaxeIcons.E_haXe
 ;%0A  
@@ -384,47 +384,30 @@
 N = 
-IconLoader.getIcon(%22/icons/I_haXe.png%22)
+icons.HaxeIcons.I_haXe
 ;%0A  

Use plugin reflective icons