Just get the local context via:

IEclipseContext parentContext = (IEclipseContext)
site.getService(IEclipseContext.class);

afterwards you can retrieve every element from this context via its key,
i.g. EModelService


2014/1/22 Wim Jongman <[email protected]>

> Guys, if I am in a small RCP 3x application like the 3x mail example. How
> do I get hold of the model service programmatically?
>
> TIA
>
> _______________________________________________
> e4-dev mailing list
> [email protected]
> https://dev.eclipse.org/mailman/listinfo/e4-dev
>
>
_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to