0
我们尝试在RCP/RAP应用程序中使用单一来源。 RCP-Application工作正常,现在我们尝试使用RAP作为web前端。在RAP应用程序中使用IEclipseContext
例如下面的类
public class NavigationProcessor {
//...
@Inject
private IEclipseContext context;
@Inject
private MApplication application;
@Inject
private EModelService modelService;
//...
}
使用IEclipseContext。但是在将目标设置为RAP后,名称空间org.eclipse.e4.core.contexts.IEclipseContext
无法解析。
如何在将目标设置为RAP后访问IEclipseContext?
在此先感谢!