we try to use single sourcing in an RCP/RAP-Application. The RCP-Application works fine, and we try now to use RAP for the webfrontend.
For example the following class
public class NavigationProcessor {
//...
@Inject
private IEclipseContext context;
@Inject
private MApplication application;
@Inject
private EModelService modelService;
//...
}
uses the IEclipseContext. But after setting the target to RAP the namespace org.eclipse.e4.core.contexts.IEclipseContext
can't be resolved.
How can i access IEclipseContext after setting the target to RAP?
Thanks in advance!