【发布时间】:2017-11-06 22:32:34
【问题描述】:
我正在尝试在 Sparx Enterprise Architect 的“快速链接”菜单中添加一个新项目。
我已按照 EA 网站上的说明进行操作: http://www.sparxsystems.com/enterprise_architect_user_guide/10/extending_uml_models/add_quick_linker_definition_to.html
无奈之下,我还尝试了来自http://www.sparxsystems.com/enterprise_architect_user_guide/10/extending_uml_models/quick_linker_example.html的示例的香草副本
我有一个新的配置文件,其中包含一个新的“快速”原型,它扩展了元类“类”。我添加了一个“QuickLink”人工制品并将以下条目复制到其中(来自上面的示例):
Class,quick,,,,Component,,Dependency,,to,,Dependency to,TRUE,TRUE,TRUE,TRUE,Component,0,,,,, Class,quick,,,,Component,,Dependency,,from,,Dependency from,TRUE,TRUE,TRUE,TRUE,Component,0,,,TRUE,, Class,quick,Component,,,,,Dependency,,to,Dependency to,,TRUE,,TRUE,TRUE,,0,,,,,, Class,quick,Component,,,,,Dependency,,from,Dependency from,,TRUE,,TRUE,TRUE,,0,,,TRUE,, Class,quick,Port,,,,,Dependency,,to,Dependency to,,TRUE,,TRUE,TRUE,,0,,,,,, Class,quick,Port,,,,,Dependency,,from,Dependency from,,TRUE,,TRUE,TRUE,,0,,,TRUE,, Class,quick,Component,,,Port,,Dependency,,to,,Dependency to,TRUE,TRUE,TRUE,TRUE,Port,0,,TRUE,,, Class,quick,Component,,,Port,,Dependency,,from,,Dependency from,TRUE,TRUE,TRUE,TRUE,Port,0,,TRUE,TRUE,,
然后我保存了 UML 配置文件并从中生成了一个 MDG。我查看了 profile.xml 和 MDG xml 文件,在这两种情况下,CSV 信息都会按照我在 QuickLink 元素中的预期显示:
例如
当我导入 MDG 时,我可以创建一个新图表,出现正确的工具箱,上面有我的“快速”原型。然而,当我将它拖到图表上并尝试创建新链接时,快速链接菜单没有显示我的任何自定义设置。
有什么我想在这里完成这项工作的吗?
【问题讨论】:
标签: profile enterprise-architect