Eclipse rcp 在RAP应用程序中使用IEclipseContext

Eclipse rcp 在RAP应用程序中使用IEclipseContext,eclipse-rcp,rcp,eclipse-rap,Eclipse Rcp,Rcp,Eclipse Rap,我们尝试在RCP/RAP应用程序中使用单一来源。 RCP应用程序运行良好,我们现在尝试将RAP用于webfrontend 例如,下面的类 public class NavigationProcessor { //... @Inject private IEclipseContext context; @Inject private MApplication application; @Inject private EModelServi

我们尝试在RCP/RAP应用程序中使用单一来源。 RCP应用程序运行良好,我们现在尝试将RAP用于webfrontend

例如,下面的类

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


提前谢谢

目前,RAP只支持Eclipse3.x工作台。 有关于跑步的实验。 不幸的是,Eclipse4仍然存在一个问题,即无法在多用户环境中使用它