diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java index 008d024ec..5997120a0 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIAdapterFactory.java @@ -4,13 +4,13 @@ * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.debug.internal.ui; - + import org.eclipse.core.runtime.IAdapterFactory; import org.eclipse.debug.core.model.IBreakpoint; @@ -33,25 +33,25 @@ public class DebugUIAdapterFactory implements IAdapterFactory { if (adapterType.isInstance(obj)) { return (T) obj; } - + if (adapterType == IPersistableElement.class) { if (obj instanceof IBreakpoint) { return (T) new BreakpointPersistableElementAdapter((IBreakpoint)obj); } } - + if (adapterType == IWorkbenchAdapter.class) { if (obj instanceof IBreakpointContainer) { return (T) new BreakpointContainerWorkbenchAdapter(); } } - + if (adapterType == IWorkbenchAdapter2.class) { if (obj instanceof IBreakpointContainer) { return (T) new BreakpointContainerWorkbenchAdapter(); } } - + return null; } |