commit | 26e36800be05a142d83b0dae6f37d885be5073d0 | [log] [tgz] |
---|---|---|
author | Eric Moffatt <emoffatt@ca.ibm.com> | Wed Apr 04 09:42:40 2012 -0400 |
committer | Eric Moffatt <emoffatt@ca.ibm.com> | Wed Apr 04 09:44:32 2012 -0400 |
tree | 1343144bf6d9ca1df94d7fe376116f4be15c7c1b | |
parent | 98973666dc60b5530502a008c721701cc9de636c [diff] |
Fix for Bug 375576 - Controls are not fully realized when partOpened(...) and partActivated(...) are called
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 96da4e0..f0d3108 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 @@ return false; } } + + // Flush ant deferred layouts and do an explicit one...see bug 375576 + parent.getDisplay().readAndDispatch(); + parent.layout(true, true); + return true; }