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

Is there a way to the context without a site?  

On Wed, Jan 22, 2014 at 7:45 PM, Paul Webster <pwebster@xxxxxxxxxxxxxxxxxxx> wrote:

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