Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 A.ecore,我在其中创建了类和 ORBAC.ecore,其中有规则和权限类
如何进行引用,以便 A.ecore 中的类可以引用 ORBAC.ecore 中的类权限
使用 Ecore 编辑器,打开 A.ecore 然后右键单击,加载资源...
您将有可能加载 ORBAC.ecore(浏览目标平台包、注册包、文件系统或工作区)
加载后,您可以自由地引用 ORBAC.ecore 中定义的类。
请注意,在部署元模型(和包含插件)时,加载额外资源的方式可能会产生一些影响。这是因为 Eclipse 将使用不同的 URI 方案。(平台:/resource/...,平台:/plugin/...,已注册 nsUri,...)