Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InspectorView.java7
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesView.java5
2 files changed, 2 insertions, 10 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InspectorView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InspectorView.java
index 5aa6f92fc..20adcd93e 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InspectorView.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/InspectorView.java
@@ -6,7 +6,7 @@ package org.eclipse.debug.internal.ui;
* (c) Copyright IBM Corp 2001
*/
-import org.eclipse.debug.ui.IDebugUIConstants; import org.eclipse.jface.action.*; import org.eclipse.jface.viewers.TreeViewer; import org.eclipse.swt.SWT; import org.eclipse.swt.events.KeyAdapter; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.IWorkbenchActionConstants; import org.eclipse.ui.part.DrillDownAdapter;
+import org.eclipse.debug.ui.IDebugUIConstants; import org.eclipse.jface.action.*; import org.eclipse.jface.viewers.TreeViewer; import org.eclipse.swt.SWT; import org.eclipse.swt.events.KeyAdapter; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.IWorkbenchActionConstants;
/**
* A view that shows items that have been added to a inspector
@@ -22,8 +22,6 @@ public class InspectorView extends AbstractDebugView {
protected RemoveFromInspectorAction fRemoveFromInspectorAction;
protected RemoveAllFromInspectorAction fRemoveAllFromInspectorAction;
protected ChangeVariableValueAction fChangeVariableAction;
-
- protected DrillDownAdapter fDrillPart;
/**
* @see IWorkbenchPart
@@ -31,7 +29,6 @@ public class InspectorView extends AbstractDebugView {
public void createPartControl(Composite parent) {
TreeViewer vv = new TreeViewer(parent, SWT.MULTI);
fViewer= vv;
- fDrillPart = new DrillDownAdapter(vv);
initializeActions();
initializeToolBar();
fContentProvider= new InspectorContentProvider(fRemoveAllFromInspectorAction);
@@ -87,7 +84,6 @@ public class InspectorView extends AbstractDebugView {
* Configures the toolBar
*/
protected void configureToolBar(IToolBarManager tbm) {
- fDrillPart.addNavigationActions(tbm);
tbm.add(new Separator(this.getClass().getName()));
tbm.add(fShowTypesAction);
tbm.add(fShowQualifiedAction);
@@ -142,7 +138,6 @@ public class InspectorView extends AbstractDebugView {
public void removeAllFromInspector() {
fContentProvider.removeAll();
fViewer.setInput(null);
- fDrillPart.reset();
}
/**
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesView.java
index 7a99b4c68..2fa07415c 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesView.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesView.java
@@ -6,7 +6,7 @@ package org.eclipse.debug.internal.ui;
* (c) Copyright IBM Corp 2000
*/
-import org.eclipse.debug.core.model.IDebugElement; import org.eclipse.debug.ui.IDebugUIConstants; import org.eclipse.jface.action.*; import org.eclipse.jface.viewers.*; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.*; import org.eclipse.ui.part.DrillDownAdapter;
+import org.eclipse.debug.core.model.IDebugElement; import org.eclipse.debug.ui.IDebugUIConstants; import org.eclipse.jface.action.*; import org.eclipse.jface.viewers.*; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.*;
/**
* This view shows variables and their values for a particular stack frame
@@ -20,7 +20,6 @@ public class VariablesView extends AbstractDebugView implements ISelectionListen
protected ChangeVariableValueAction fChangeVariableAction;
protected AddToInspectorAction fAddToInspectorAction;
- protected DrillDownAdapter fDrillPart;
/**
* Remove myself as a selection listener to the <code>LaunchesView</code> in this perspective.
*
@@ -77,7 +76,6 @@ public class VariablesView extends AbstractDebugView implements ISelectionListen
fViewer.setContentProvider(new VariablesContentProvider());
fViewer.setLabelProvider(new DelegatingModelPresentation());
fViewer.setUseHashlookup(true);
- fDrillPart = new DrillDownAdapter(vv);
// add a context menu
createContextMenu(vv.getTree());
@@ -136,7 +134,6 @@ public class VariablesView extends AbstractDebugView implements ISelectionListen
* Configures the toolBar
*/
protected void configureToolBar(IToolBarManager tbm) {
- fDrillPart.addNavigationActions(tbm);
tbm.add(new Separator(this.getClass().getName()));
tbm.add(fShowTypesAction);
tbm.add(fShowQualifiedAction);

Back to the top