We publish the IWorkbench instance in the OSGi-Registry so you can
access IWorkbench via BundleContext#getService().

Tom

On 30.07.14 16:39, Veselin Markov wrote:
> Hello,
> 
> I'm trying to test an Model-Addon that publishes an Object into the
> WorkbenchContext. I run my test as an plugin test and the addon sets the
> object in the workbenchContext. Now how do I acquire the
> workbenchContext so that I can check if the object is there?
> I'm able to get the ServiceContext with EclipseContextFactory**but there
> is no way to get its child-contexts. Is there an Toolkit that I can use?
> I appreciate any help.
> 
> Greetings
> Veselin
> 
> 
> _______________________________________________
> e4-dev mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/e4-dev
> 

_______________________________________________
e4-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to