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.
Eclipse 建模框架中是否有任何选项可以选择与关联或泛化箭头不同的箭头?我的意思是“聚合”或最后没有箭头的关联线。在 EMF 中,我只能“绘制”这个:---> 和这个 ---<>。但还有更多类似:---|>,或 ---(+) 等等......
Ecore 本身只支持 EClass.eReferences(关联)和 EClass.eSuperTypes(泛化)。EReference 可以是双向的,在这种情况下没有箭头,而 EReference 可以是一个容器,在这种情况下有一个黑色菱形。这就是全部。您将需要像 Papyrus 这样的 UML 工具来支持完整的 UML 曲目。