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:
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