Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Gettng the model service

FYI - I added the info how to access the IEclipseContext from a view and handler also to my Eclipse Plug-in development tutorial

2014-01-22 19:45 GMT+01:00 Paul Webster <pwebster@xxxxxxxxxxxxxxxxxxx>:

On Wed, Jan 22, 2014 at 11:26 AM, Lars Vogel <lars.vogel@xxxxxxxxx> 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

Back to the top