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 http://www.vogella.com/tutorials/EclipsePlugIn/article.html#eclipsecontext


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


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
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev



Back to the top