Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSarika Sinha2021-02-15 09:54:27 +0000
committerSarika Sinha2021-02-15 10:51:29 +0000
commit121fea857d6a9a82632a47a92773ab95802f76ad (patch)
treeb43c462015bc5bb8fbef377a141b14574f4006e0
parent0a0744e3e5faa411fdb857ba97da0990b31c3666 (diff)
downloadeclipse.jdt.debug-121fea857d6a9a82632a47a92773ab95802f76ad.tar.gz
eclipse.jdt.debug-121fea857d6a9a82632a47a92773ab95802f76ad.tar.xz
eclipse.jdt.debug-121fea857d6a9a82632a47a92773ab95802f76ad.zip
This reverts commit d332c32a974566284216b90ab99de969f3478420. Reason for revert: Bug 567787 has fixed the issue in the proper way Change-Id: Ia4d3dff96769944e6b49091ac61591f763be698a
-rw-r--r--org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/ExpressionInformationControlCreator.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/ExpressionInformationControlCreator.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/ExpressionInformationControlCreator.java
index 8365652e6..3262c5437 100644
--- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/ExpressionInformationControlCreator.java
+++ b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/ExpressionInformationControlCreator.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008, 2020 IBM Corporation and others.
+ * Copyright (c) 2008, 2019 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -14,7 +14,6 @@
package org.eclipse.jdt.internal.debug.ui;
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;
@@ -56,7 +55,6 @@ import org.eclipse.swt.widgets.Display;
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;
@@ -457,12 +455,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();
- }
}
}

Back to the top