| commit | e8530879e3ec5b56ae2c3fa58e2fa70f1c096ac9 | [log] [tgz] |
|---|---|---|
| author | Tom Schindl <tom.schindl@bestsolution.at> | Tue Jan 21 22:56:47 2014 +0100 |
| committer | Tom Schindl <tom.schindl@bestsolution.at> | Tue Jan 21 22:56:47 2014 +0100 |
| tree | 87ec3e3035707490a796557838d0f8ec708b0fe9 | |
| parent | d71400f2beafc1eb45c0aa42d8605b4d2ce52e4f [diff] |
[Bug 426195] IEventBroker.subscribe to UIEvents.UILifeCycle.APP_STARTUP_COMPLETE does not work
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 447919f..ac991ba 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 @@ 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);