Bug 299172 e4.ui.services dependency on org.eclipse.core.runtime
The bundle org.eclipse.e4.ui.services uses the core.runtime bundle and the Platform class. This is a global singleton so it should be avoided.
bundles/org.eclipse.e4.ui.services/src/org/eclipse/e4/ui/internal/services/Activator.java
* this will return null if the bundle is not active.
	 */
	public static Activator getDefault() {
		return singleton;
	}
	public void start(BundleContext context) throws Exception {
		bundleContext = context;
		singleton = this;
		
		
		
		
		Hashtable<String, String> props = new Hashtable<String, String>(4);
		props.put(IContextFunction.SERVICE_CONTEXT_KEY, EContextService.class.getName());
		contextServiceReg = context.registerService(IContextFunction.class.getName(), new ContextContextFunction(), props);
	}
	
	/*
	 * Return the debug options service, if available.
	 */
	public EventAdmin getEventAdmin() {
		if (eventAdminTracker == null) {
			eventAdminTracker = new ServiceTracker(bundleContext, EventAdmin.class.getName(), null);
			eventAdminTracker.open();
		}
		return (EventAdmin) eventAdminTracker.getService();
	}
	public void stop(BundleContext context) throws Exception {
		if (contextServiceReg != null) {
			contextServiceReg.unregister();