Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2006-02-18 00:00:55 +0000
committerDarin Swanson2006-02-18 00:00:55 +0000
commit93e715bc558ba7b14906c1739b9494b10f6498e4 (patch)
tree97eaccb84a944595eceb4b7999b2bc17007bc467
parent7173fef5a65e199fe3b9cd47213a6eb9125409f3 (diff)
downloadeclipse.platform.debug-93e715bc558ba7b14906c1739b9494b10f6498e4.tar.gz
eclipse.platform.debug-93e715bc558ba7b14906c1739b9494b10f6498e4.tar.xz
eclipse.platform.debug-93e715bc558ba7b14906c1739b9494b10f6498e4.zip
Move from Platform deprecated API
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java
index 5484722c7..aea796781 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugPluginImages.java
@@ -15,6 +15,7 @@ package org.eclipse.debug.internal.ui;
import java.net.URL;
+import org.eclipse.core.runtime.FileLocator;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IExtensionPoint;
import org.eclipse.core.runtime.Path;
@@ -234,7 +235,7 @@ public class DebugPluginImages {
Bundle bundle = Platform.getBundle(DebugUIPlugin.getUniqueIdentifier());
URL url = null;
if (bundle != null){
- url = Platform.find(bundle, new Path(path));
+ url = FileLocator.find(bundle, new Path(path), null);
desc = ImageDescriptor.createFromURL(url);
}
imageRegistry.put(key, desc);

Back to the top