FYI - I added the info how to access the IEclipseContext from a view and
handler also to my Eclipse Plug-in development tutorial
http://www.vogella.com/tutorials/EclipsePlugIn/article.html#eclipsecontext


2014-01-22 19:45 GMT+01:00 Paul Webster <pwebs...@alumni.uwaterloo.ca>:

> Hi
>
>
> On Wed, Jan 22, 2014 at 11:26 AM, Lars Vogel <lars.vo...@gmail.com> wrote:
>
>> Just get the local context via:
>>
>> IEclipseContext parentContext = (IEclipseContext)
>> site.getService(IEclipseContext.class);
>>
>>
>>
> This works as well with the E*services:
>
> EModelService service = (EModelService)
> site.getService(EModelService.class);
>
>
> --
> Paul Webster
> Hi floor.  Make me a sammich! - GIR
>
> _______________________________________________
> e4-dev mailing list
> e4-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/e4-dev
>
>
_______________________________________________
e4-dev mailing list
e4-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to