Bug 303305 EPS cannot handle being asked for from the application's context
Right now we have this... @Inject @Named(EPartService.PART_SERVICE_ROOT) private MElementContainer<MUIElement> rootContainer; ...which will be 'null' if the question was posed to the application's context. Right now, I cannot use EPS in the SaveHandler because I get an (effectively) useless EPartService (filled with null fields).
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/PartServiceImpl.java
public static void addListener(IEventBroker broker) {
		EventHandler windowHandler = new EventHandler() {
			public void handleEvent(Event event) {
				Object element = event.getProperty(UIEvents.EventTags.ELEMENT);
				if (element instanceof MWindow) {
					MContext contextAware = (MContext) element;
					IEclipseContext context = contextAware.getContext();
					if (context != null) {
						context.set(EPartService.PART_SERVICE_ROOT, element);
					}
				}
			}
		};
		broker.subscribe(UIEvents.buildTopic(UIEvents.Context.TOPIC, UIEvents.Context.CONTEXT),
				windowHandler);
	}
	private EventHandler selectedHandler = new EventHandler() {
		public void handleEvent(Event event) {