summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorEric Moffatt2012-05-25 16:14:46 (EDT)
committer John Arthorne2012-05-25 16:14:46 (EDT)
commit40f322457790733e83a03de9ccc2ca1abc0abef7 (patch)
tree93b95ec34be5e0996cf88676fba4e199bf79793c
parentfaedcac33a8b8d3300a9bd46a784ae2250e528d7 (diff)
downloadeclipse.platform.ui-40f322457790733e83a03de9ccc2ca1abc0abef7.zip
eclipse.platform.ui-40f322457790733e83a03de9ccc2ca1abc0abef7.tar.gz
eclipse.platform.ui-40f322457790733e83a03de9ccc2ca1abc0abef7.tar.bz2
-rw-r--r--bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java b/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
index 2abfe4c..f5cf47b 100644
--- a/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
+++ b/bundles/org.eclipse.e4.ui.workbench.swt/src/org/eclipse/e4/ui/internal/workbench/swt/PartRenderingEngine.java
@@ -532,7 +532,8 @@ public class PartRenderingEngine implements IPresentationEngine {
if (currentWidget instanceof Control) {
Control control = (Control) currentWidget;
// make sure the control is visible
- control.setVisible(true);
+ if (!(element instanceof MPlaceholder))
+ control.setVisible(true);
if (parentWidget instanceof Composite) {
Composite currentParent = control.getParent();