diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultViewerInputProvider.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultViewerInputProvider.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultViewerInputProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultViewerInputProvider.java index d47277d85..e152d7580 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultViewerInputProvider.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/elements/adapters/DefaultViewerInputProvider.java @@ -4,7 +4,7 @@ * 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: * Wind River Systems - initial API and implementation * Patrick Chuong (Texas Instruments) - Improve usability of the breakpoint view (Bug 238956) @@ -19,9 +19,9 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerUpdate; import org.eclipse.debug.ui.IDebugUIConstants; /** - * Default input provider supplies the expression manager as input to the + * Default input provider supplies the expression manager as input to the * expression view. - * + * * @since 3.4 */ public class DefaultViewerInputProvider extends ViewerInputProvider { @@ -30,12 +30,12 @@ public class DefaultViewerInputProvider extends ViewerInputProvider { * @see org.eclipse.debug.internal.ui.model.elements.ViewerInputProvider#getViewerInput(java.lang.Object, org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext, org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerUpdate) */ @Override - protected Object getViewerInput(Object source, IPresentationContext context, IViewerUpdate update) throws CoreException { - if (IDebugUIConstants.ID_BREAKPOINT_VIEW.equals(context.getId())) { + protected Object getViewerInput(Object source, IPresentationContext context, IViewerUpdate update) throws CoreException { + if (IDebugUIConstants.ID_BREAKPOINT_VIEW.equals(context.getId())) { DefaultBreakpointsViewInput input = new DefaultBreakpointsViewInput(context); return input; - } - + } + return DebugPlugin.getDefault().getExpressionManager(); } |