if (e4Bundle != null)
{
BundleContext e4BundleContext = e4Bundle.getBundleContext();
IEclipseContext osgiCtx = EclipseContextFactory.getServiceContext(e4BundleContext);
osgiCtx.set("myKeyInOsgi1", "value");
<BUG>}
IEclipseContext appliCtx = PlatformUI.getWorkbench().getService(IEclipseContext.class);
</BUG>
appliCtx.set("myKeyInAppli", "value");
<BUG>appliCtx.getParent().set("myKeyInOSgi2", "value");
IWorkbench wb = PlatformUI.getWorkbench();
IEclipseContext windowCtx = wb.getActiveWorkbenchWindow().getService(IEclipseContext.class);
</BUG>
windowCtx.set("myKeyInWindow", "value");

if (e4Bundle != null)
{
BundleContext e4BundleContext = e4Bundle.getBundleContext();
IEclipseContext osgiCtx = EclipseContextFactory.getServiceContext(e4BundleContext);
osgiCtx.set("myKeyInOsgi1", "value");
