replaced a lot of deprecated code; if someone runs into a commit conflict afterwards...
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.core / src / net / sourceforge / phpdt / internal / debug / core / PHPDegugCorePluginImages.java
index a49505e..42de200 100644 (file)
@@ -4,7 +4,7 @@
  * are made available under the terms of the Common Public License v1.0
  * which accompanies this distribution, and is available at
  * http://www.eclipse.org/legal/cpl-v10.html
- * 
+ *
  * Contributors:
  *     IBM Corporation - initial API and implementation
  *******************************************************************************/
@@ -20,7 +20,8 @@ import org.eclipse.swt.graphics.Image;
 public class PHPDegugCorePluginImages {
 
        private final static URL BASE_URL =
-               PHPDebugCorePlugin.getDefault().getDescriptor().getInstallURL();
+               PHPDebugCorePlugin.getDefault().getBundle().getEntry("/");
+
        private final static ImageRegistry PLUGIN_REGISTRY =
                PHPDebugCorePlugin.getDefault().getImageRegistry();
 
@@ -91,12 +92,12 @@ public class PHPDegugCorePluginImages {
                create(PATH_LCL, "restore_log.gif"); //$NON-NLS-1$
        public static final ImageDescriptor DESC_READ_LOG_DISABLED =
                create(PATH_LCL_DISABLED, "restore_log.gif"); //$NON-NLS-1$
-               
+
        public static final ImageDescriptor DESC_REMOVE_LOG =
                create(PATH_LCL, "remove.gif"); //$NON-NLS-1$
        public static final ImageDescriptor DESC_REMOVE_LOG_DISABLED =
                create(PATH_LCL_DISABLED, "remove.gif"); //$NON-NLS-1$
-               
+
        public static final ImageDescriptor DESC_FILTER =
                create(PATH_LCL, "filter_ps.gif"); //$NON-NLS-1$
        public static final ImageDescriptor DESC_FILTER_DISABLED =
@@ -106,36 +107,36 @@ public class PHPDegugCorePluginImages {
                create(PATH_LCL, "export_log.gif"); //$NON-NLS-1$
        public static final ImageDescriptor DESC_EXPORT_DISABLED =
                create(PATH_LCL_DISABLED, "export_log.gif"); //$NON-NLS-1$
-               
+
        public static final ImageDescriptor DESC_IMPORT =
                create(PATH_LCL, "import_log.gif"); //$NON-NLS-1$
        public static final ImageDescriptor DESC_IMPORT_DISABLED =
                create(PATH_LCL_DISABLED, "import_log.gif"); //$NON-NLS-1$
-       
+
        public static final ImageDescriptor DESC_COLLAPSE_ALL =
                create(PATH_LCL, "collapseall.gif"); //$NON-NLS-1$
-       
+
        public static final ImageDescriptor DESC_HORIZONTAL_VIEW =
                create(PATH_LCL, "th_horizontal.gif"); //$NON-NLS-1$
-       
-       public static final ImageDescriptor DESC_HORIZONTAL_VIEW_DISABLED = 
+
+       public static final ImageDescriptor DESC_HORIZONTAL_VIEW_DISABLED =
                create(PATH_LCL_DISABLED, "th_horizontal.gif"); //$NON-NLS-1$
-       
+
        public static final ImageDescriptor DESC_VERTICAL_VIEW =
                create(PATH_LCL, "th_vertical.gif"); //$NON-NLS-1$
-       
-       public static final ImageDescriptor DESC_VERTICAL_VIEW_DISABLED = 
+
+       public static final ImageDescriptor DESC_VERTICAL_VIEW_DISABLED =
                create(PATH_LCL_DISABLED, "th_vertical.gif"); //$NON-NLS-1$
-       
+
        public static final ImageDescriptor DESC_HIDE_PANE =
                create(PATH_EVENTS, "hide_pane.gif"); //$NON-NLS-1$
-       
+
        /*
         * Event Details
         */
        public static final ImageDescriptor DESC_PREV_EVENT =
                create(PATH_EVENTS, "event_prev.gif"); //$NON-NLS-1$
-       public static final ImageDescriptor DESC_NEXT_EVENT = 
+       public static final ImageDescriptor DESC_NEXT_EVENT =
                create(PATH_EVENTS, "event_next.gif"); //$NON-NLS-1$
        /*
         * Overlays