CVS test
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.ui / src / net / sourceforge / phpdt / debug / ui / PHPDebugUiImages.java
index 787fe19..77a48a9 100644 (file)
@@ -3,6 +3,9 @@ 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.jdt.internal.ui.JavaPlugin;
 import org.eclipse.jface.action.IAction;
 import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.jface.resource.ImageRegistry;
@@ -15,6 +18,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 +31,7 @@ public class PHPDebugUiImages {
                        PHPDebugUiPlugin.log(e);
                }
        }
-
+*/
        protected static final ImageRegistry IMAGE_REGISTRY = new ImageRegistry();
 
        protected static final String CTOOL_PREFIX = "ctool16";