1436190 - Test additions & refactoring
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.ui / src / net / sourceforge / phpdt / debug / ui / PHPDebugUiImages.java
index 787fe19..1cd7a0b 100644 (file)
@@ -3,11 +3,12 @@ package net.sourceforge.phpdt.debug.ui;
 import java.net.MalformedURLException;
 import java.net.URL;
 
+import net.sourceforge.phpdt.internal.debug.ui.PHPDebugUiPlugin;
+
 import org.eclipse.jface.action.IAction;
 import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.jface.resource.ImageRegistry;
 import org.eclipse.swt.graphics.Image;
-import net.sourceforge.phpdt.internal.debug.ui.PHPDebugUiPlugin;
 
 public class PHPDebugUiImages {
 
@@ -15,6 +16,11 @@ public class PHPDebugUiImages {
        protected static final int NAME_PREFIX_LENGTH = NAME_PREFIX.length();
        protected static URL iconBaseURL;
 
+       
+       static {
+               iconBaseURL= PHPDebugUiPlugin.getDefault().getBundle().getEntry("/icons/"); //$NON-NLS-1$
+       }
+/*     
        static {
                String pathSuffix = "icons/";
                try {
@@ -23,7 +29,7 @@ public class PHPDebugUiImages {
                        PHPDebugUiPlugin.log(e);
                }
        }
-
+*/
        protected static final ImageRegistry IMAGE_REGISTRY = new ImageRegistry();
 
        protected static final String CTOOL_PREFIX = "ctool16";