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 e4ef9ff..447919f 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
@@ -66,6 +66,8 @@
 	@Log
 	private Logger log;
 	
+	private final IEventBroker eventBroker;
+	
 	@Inject
 	public PartRenderingEngine(
 			@Named(E4Workbench.RENDERER_FACTORY_URI) @Optional String factoryUrl,
@@ -79,6 +81,7 @@
 		IContributionFactory contribFactory = context.get(IContributionFactory.class);
 		this.factory = (RendererFactory) contribFactory.create(factoryUrl, context);
 		this.modelService = modelService;
+		this.eventBroker = eventBroker;
 		
 		if(  context.get(EBindingService.class.getName()) != null ) {
 			KeyBindingDispatcher dispatcher = ContextInjectionFactory.make(KeyBindingDispatcher.class, context);
@@ -378,6 +381,10 @@
 					createGui(window);
 				}
 			}
+			if (eventBroker != null)
+				eventBroker.post(
+						UIEvents.UILifeCycle.APP_STARTUP_COMPLETE,
+						app);
 			//focus the selected part
 			MUIElement element = selected;
 			while ((element!=null)&&(!(element instanceof MPart))){