Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Moffatt2012-04-04 13:42:40 +0000
committerEric Moffatt2012-04-04 13:44:32 +0000
commit26e36800be05a142d83b0dae6f37d885be5073d0 (patch)
tree1343144bf6d9ca1df94d7fe376116f4be15c7c1b
parent98973666dc60b5530502a008c721701cc9de636c (diff)
downloadeclipse.platform.ui-26e36800be05a142d83b0dae6f37d885be5073d0.tar.gz
eclipse.platform.ui-26e36800be05a142d83b0dae6f37d885be5073d0.tar.xz
eclipse.platform.ui-26e36800be05a142d83b0dae6f37d885be5073d0.zip
Fix for Bug 375576 - Controls are not fully realized when
partOpened(...) and partActivated(...) are called
-rw-r--r--bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityEditor.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityEditor.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityEditor.java
index 96da4e0ee99..f0d31083b90 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityEditor.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/e4/compatibility/CompatibilityEditor.java
@@ -126,6 +126,11 @@ public class CompatibilityEditor extends CompatibilityPart {
return false;
}
}
+
+ // Flush ant deferred layouts and do an explicit one...see bug 375576
+ parent.getDisplay().readAndDispatch();
+ parent.layout(true, true);
+
return true;
}

Back to the top