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
Object selected = event.getProperty(UIEvents.EventTags.NEW_VALUE);
			if (selected instanceof MPart) {
				if (((MPart) selected).isToBeRendered()) {
					firePartBroughtToTop((MPart) selected);
				}
			}
		}
	};
	@Inject
	private MApplication application;
	/**
	 * This is the specific implementation. TODO: generalize it
	 */
	@Inject
	@Named(EPartService.PART_SERVICE_ROOT)
	private MElementContainer<MUIElement> rootContainer;
	@Inject
	private IPresentationEngine engine;
	@Inject
	private EModelService modelService;
	@Inject
	private Logger logger;
	@Inject
	private ISaveHandler saveHandler;
	@Inject
	private IEventBroker eventBroker;
	private MPart activePart;
	private ListenerList listeners = new ListenerList();
	private boolean constructed = false;
	@Inject