Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2009-12-14 19:46:39 +0000
committerDarin Wright2009-12-14 19:46:39 +0000
commite87093db3380b66adf491b1c80024a2aa6b6a20e (patch)
tree4737025ca732b5870688b04f6f6cbb8493efdca0 /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch
parent90b22bd9fe945e7d2b43829296a38d83cc44f2a8 (diff)
downloadeclipse.platform.debug-e87093db3380b66adf491b1c80024a2aa6b6a20e.tar.gz
eclipse.platform.debug-e87093db3380b66adf491b1c80024a2aa6b6a20e.tar.xz
eclipse.platform.debug-e87093db3380b66adf491b1c80024a2aa6b6a20e.zip
Bug 297766 - fix NPE warnings in debug.ui
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java
index 6542fab63..3636de650 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchViewBreadcrumb.java
@@ -34,6 +34,7 @@ import org.eclipse.debug.ui.contexts.IDebugContextProvider;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.MenuManager;
+import org.eclipse.jface.viewers.AbstractTreeViewer;
import org.eclipse.jface.viewers.BaseLabelProvider;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;
@@ -499,7 +500,7 @@ public class LaunchViewBreadcrumb extends AbstractBreadcrumb implements IDebugCo
// full viewer. After the drop-down's full expansion state is saved out to the tree viewer, the
// tree viewer will accurately reflect the state changes made by the user.
if (fView.getBreadcrumbDropDownAutoExpand()) {
- fTreeViewer.collapseToLevel(rootPath, TreeViewer.ALL_LEVELS);
+ fTreeViewer.collapseToLevel(rootPath, AbstractTreeViewer.ALL_LEVELS);
}
// Save the state of the drop-down out into the tree viewer.

Back to the top