diff options
author | Darin Wright | 2007-01-04 17:38:53 +0000 |
---|---|---|
committer | Darin Wright | 2007-01-04 17:38:53 +0000 |
commit | cb19e8156657be08f099b8eac13e5eaad91de3e5 (patch) | |
tree | a2c088e60d54ec98cd5c42716f97d707a31ee601 /org.eclipse.debug.ui/ui/org/eclipse/debug/ui/InspectPopupDialog.java | |
parent | 2479b80ea487f1214d36b2393c2cabb671ae3f4f (diff) | |
download | eclipse.platform.debug-cb19e8156657be08f099b8eac13e5eaad91de3e5.tar.gz eclipse.platform.debug-cb19e8156657be08f099b8eac13e5eaad91de3e5.tar.xz eclipse.platform.debug-cb19e8156657be08f099b8eac13e5eaad91de3e5.zip |
Bug 153500 Asynchronous model viewer
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui/InspectPopupDialog.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/InspectPopupDialog.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/InspectPopupDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/InspectPopupDialog.java index 87b7f99f2..bc6e35b48 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/InspectPopupDialog.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/InspectPopupDialog.java @@ -14,7 +14,6 @@ package org.eclipse.debug.ui; import java.util.List; import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.debug.core.DebugException; import org.eclipse.debug.core.DebugPlugin; import org.eclipse.debug.core.model.IExpression; @@ -24,6 +23,7 @@ import org.eclipse.debug.internal.ui.DebugUIPlugin; import org.eclipse.debug.internal.ui.VariablesViewModelPresentation; import org.eclipse.debug.internal.ui.model.elements.ElementContentProvider; import org.eclipse.debug.internal.ui.viewers.model.provisional.IPresentationContext; +import org.eclipse.debug.internal.ui.viewers.model.provisional.IViewerUpdate; import org.eclipse.debug.internal.ui.viewers.model.provisional.PresentationContext; import org.eclipse.debug.internal.ui.viewers.model.provisional.TreeModelViewer; import org.eclipse.debug.internal.ui.views.DebugUIViewsMessages; @@ -180,13 +180,13 @@ public class InspectPopupDialog extends DebugPopup { /* (non-Javadoc) * @see org.eclipse.debug.internal.ui.viewers.model.provisional.elements.ElementContentProvider#getChildCount(java.lang.Object, org.eclipse.debug.internal.ui.viewers.provisional.IPresentationContext) */ - protected int getChildCount(Object element, IPresentationContext context, IProgressMonitor monitor) throws CoreException { + protected int getChildCount(Object element, IPresentationContext context, IViewerUpdate monitor) throws CoreException { return 1; } /* (non-Javadoc) * @see org.eclipse.debug.internal.ui.viewers.model.provisional.elements.ElementContentProvider#getChildren(java.lang.Object, int, int, org.eclipse.debug.internal.ui.viewers.provisional.IPresentationContext) */ - protected Object[] getChildren(Object parent, int index, int length, IPresentationContext context, IProgressMonitor monitor) throws CoreException { + protected Object[] getChildren(Object parent, int index, int length, IPresentationContext context, IViewerUpdate monitor) throws CoreException { return new Object[] { fExpression }; } |