Bug 308577 e4 applications don't get focus
Upon startup, e4 based applications (including the 4.0 SDK) don't receive focus. Bogdan mentioned that this has to do something with the splash screen.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/workbench/ui/renderers/swt/WBWRenderer.java
if (element instanceof MTrimContainer<?>)
			return super.getUIContainer(element);
		Composite shellComp = (Composite) element.getParent().getWidget();
		if (element instanceof MWindow)
			return shellComp;
		TrimmedPartLayout tpl = (TrimmedPartLayout) shellComp.getLayout();
		return tpl.clientArea;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.eclipse.e4.workbench.ui.renderers.PartFactory#postProcess(org.eclipse
	 * .e4.ui.model.application.MPart)
	 */
	@Override
	public void postProcess(MUIElement childME) {
		super.postProcess(childME);
		Shell shell = (Shell) childME.getWidget();
		shell.layout(true);
	}
	private Object[] promptForSave(Shell parentShell,
			Collection<MPart> saveableParts) {
		SaveablePartPromptDialog dialog = new SaveablePartPromptDialog(
				parentShell, saveableParts);
		if (dialog.open() == Window.CANCEL) {
			return null;
		}
		return dialog.getCheckedElements();
	}