diff options
author | Tom Schindl | 2014-01-21 21:56:47 +0000 |
---|---|---|
committer | Tom Schindl | 2014-01-21 21:56:47 +0000 |
commit | e8530879e3ec5b56ae2c3fa58e2fa70f1c096ac9 (patch) | |
tree | 87ec3e3035707490a796557838d0f8ec708b0fe9 | |
parent | d71400f2beafc1eb45c0aa42d8605b4d2ce52e4f (diff) | |
download | org.eclipse.efxclipse-e8530879e3ec5b56ae2c3fa58e2fa70f1c096ac9.tar.gz org.eclipse.efxclipse-e8530879e3ec5b56ae2c3fa58e2fa70f1c096ac9.tar.xz org.eclipse.efxclipse-e8530879e3ec5b56ae2c3fa58e2fa70f1c096ac9.zip |
[Bug 426195] IEventBroker.subscribe to
UIEvents.UILifeCycle.APP_STARTUP_COMPLETE does not work
-rwxr-xr-x | bundles/runtime/org.eclipse.fx.ui.workbench.fx/src/org/eclipse/fx/ui/workbench/fx/PartRenderingEngine.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/runtime/org.eclipse.fx.ui.workbench.fx/src/org/eclipse/fx/ui/workbench/fx/PartRenderingEngine.java b/bundles/runtime/org.eclipse.fx.ui.workbench.fx/src/org/eclipse/fx/ui/workbench/fx/PartRenderingEngine.java index 447919faa..ac991bab5 100755 --- a/bundles/runtime/org.eclipse.fx.ui.workbench.fx/src/org/eclipse/fx/ui/workbench/fx/PartRenderingEngine.java +++ b/bundles/runtime/org.eclipse.fx.ui.workbench.fx/src/org/eclipse/fx/ui/workbench/fx/PartRenderingEngine.java @@ -373,6 +373,10 @@ public class PartRenderingEngine implements IPresentationEngine { for (MWindow window : app.getChildren()) { createGui(window); } + if (eventBroker != null) + eventBroker.post( + UIEvents.UILifeCycle.APP_STARTUP_COMPLETE, + app); } else { // render the selected one first createGui(selected); |