diff options
author | Sarika Sinha | 2021-02-15 09:54:54 +0000 |
---|---|---|
committer | Sarika Sinha | 2021-02-15 10:51:23 +0000 |
commit | dbbb93bc104e132c0f5ce1d1f4a7864e671a0f08 (patch) | |
tree | fe3911201b6417e188b79ef2f0de1570b159fb74 | |
parent | acf4c9657f642ebd1ca26ec12724e80443c84820 (diff) | |
download | eclipse.platform.debug-dbbb93bc104e132c0f5ce1d1f4a7864e671a0f08.tar.gz eclipse.platform.debug-dbbb93bc104e132c0f5ce1d1f4a7864e671a0f08.tar.xz eclipse.platform.debug-dbbb93bc104e132c0f5ce1d1f4a7864e671a0f08.zip |
Revert "Bug 568813 - Empty inspect window and hover"
This reverts commit 1e760d286525d9efe492edf362ef64d8b4be684b.
Reason for revert: Bug 567787 has fixed the issue in the proper way
Change-Id: Ib91310ffe2ec13db34ccbc127f437fbba5bb3c55
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/hover/ExpressionInformationControlCreator.java | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/hover/ExpressionInformationControlCreator.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/hover/ExpressionInformationControlCreator.java index 0573561ce..f1a0d6aa9 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/hover/ExpressionInformationControlCreator.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/hover/ExpressionInformationControlCreator.java @@ -1,5 +1,5 @@ /**************************************************************************** -* Copyright (c) 2017, 2020 Red Hat Inc. and others. +* Copyright (c) 2017, 2018 Red Hat Inc. and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -10,12 +10,10 @@ * * Contributors: * Mickael Istria (Red Hat Inc.) - [521958] initial implementation -* IBM Corporation - Bug 568813 *******************************************************************************/ package org.eclipse.debug.internal.ui.hover; import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.Platform; import org.eclipse.debug.core.model.IVariable; import org.eclipse.debug.internal.ui.SWTFactory; import org.eclipse.debug.internal.ui.model.elements.ElementContentProvider; @@ -52,7 +50,6 @@ import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Layout; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Tree; -import org.eclipse.swt.widgets.TreeItem; import org.eclipse.ui.IWorkbenchPage; import org.eclipse.ui.IWorkbenchPartSite; import org.eclipse.ui.PlatformUI; @@ -403,12 +400,6 @@ public class ExpressionInformationControlCreator implements IInformationControlC if (input instanceof IVariable) { fVariable = (IVariable) input; fViewer.setInput(new TreeRoot()); - // Workaround for empty hover popup dialog due to changed Mac API behaviour - if (Platform.OS_MACOSX.equals(Platform.getOS())) { - fTree.setItemCount(1); - TreeItem item = fTree.getItem(0); - item.getText(); - } } } |