Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2008-03-11 14:12:15 +0000
committerDarin Wright2008-03-11 14:12:15 +0000
commitf15186e80aca5851777aeaf557f81f3fd393d6d3 (patch)
tree93d63179ff117f5633d92362c27c11171045f270 /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions
parentc2da19dc5b67c12bf510e8505bb3165264637460 (diff)
downloadeclipse.platform.debug-f15186e80aca5851777aeaf557f81f3fd393d6d3.tar.gz
eclipse.platform.debug-f15186e80aca5851777aeaf557f81f3fd393d6d3.tar.xz
eclipse.platform.debug-f15186e80aca5851777aeaf557f81f3fd393d6d3.zip
Bug 222228 - Should delegate to platform adapater manager for adapters
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DebugCommandService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DebugCommandService.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DebugCommandService.java
index cfb651527..610ade79b 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DebugCommandService.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/DebugCommandService.java
@@ -17,8 +17,8 @@ import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
+import org.eclipse.debug.core.DebugPlugin;
import org.eclipse.debug.core.commands.IDebugCommandHandler;
-import org.eclipse.debug.internal.ui.viewers.model.ViewerAdapterService;
import org.eclipse.debug.ui.DebugUITools;
import org.eclipse.debug.ui.contexts.DebugContextEvent;
import org.eclipse.debug.ui.contexts.IDebugContextListener;
@@ -272,7 +272,7 @@ public class DebugCommandService implements IDebugContextListener {
}
private IDebugCommandHandler getHandler(Object element, Class handlerType) {
- return (IDebugCommandHandler)ViewerAdapterService.getAdapter(element, handlerType);
+ return (IDebugCommandHandler)DebugPlugin.getAdapter(element, handlerType);
}
}

Back to the top