企业架构师,扩展属性
我正在评估 EA,有件事确实让我困惑,似乎没有任何方法可以扩展 EA 中元素的属性。这是真的吗?但这听起来太荒谬了,不太真实。也没有看到任何创建全新元素的方法。
例如,我向图表中添加一个 Issue 元素,该元素有一个名为 Difficulty 的属性。该属性有 3 个定义值:低、中、高。假设我需要扩展此属性以使其也能够“非常高”。这是不可能的,对吧?听起来实在是太荒谬了。这样的事情会迫使我继续使用 Excel,尽管它有很多缺点。我的梦想是能够用我自己的属性创建一个全新的元素,这将使 EA 真正有用。
I am evaluating EA and there is one thing that really puzzles me, there doesn't seem to be any way to extend the properties of elements in EA. Is this true?. It sounds too ridiculous to be true though. Havent seen any way to create entirely new elements either.
For example, I add an Issue element to my diagram, this element has a property called Difficulty. This property has 3 defined values: Low, Medium, High. Let's say I need to extend this property to be able to be "Very high" as well. This is not possible , right?. Sounds just to ridiculous to be true. Such thing would force me to stay working with Excel, for all it's faults. The dream would be to be able to create an entirely new element with my own properties, that would make EA really useful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Enterprise Architect 支持标准属性和标记值。
标准属性有时可以通过设置进行配置 - 困难是无法配置的属性的一个很好的例子。
标记的值就是您要查找的值。您可以通过多种方式指定标记值字段。您可以将元素配置为具有一组默认的标记值等。
可以通过构造型和配置文件创建新元素。看一下 BPMN 图 - 这完全是作为 EA 中的配置创建的。您将在“MDG 技术”文件夹中的 xml 文件中找到存储的定义。这些 xml 定义创建为图表,然后导出为“配置文件”。
华泰
Enterprise Architect supports standard properties and tagged values.
The standard properties can sometimes be configured through the settings - the difficulty is a good example for a property which can't be configured.
The tagged values are what you are looking for. You can specify tagged value fields in several ways. You can configure elements to have a default set of tagged values etc.
New elements can be created through stereotypes and profiles. Take a look at the BPMN diagram - this is created entirely as configuration in EA. You'll find gthe definition stored in an xml file in the "MDG technologies" folder. These xml definitions are created as diagrams and then exported as "profile".
HTH
难度值可在 EA 存储库中配置为参考数据集之一。
特别是,在 EA 13.5 中,可以通过以下方式访问:配置(功能区)>参考数据(组面板)>项目类型(菜单按钮)>一般类型(菜单选项)>难度(值集)
用于“标准 EA”元素属性(例如优先级或场景类型)的其他参考数据集也可以这样配置。另一方面,构造型和标记值是更强大的功能,但如果要广泛且以一致的方式使用(即需要定义 UML 概要文件并将构造型应用于模型元素),它们会带来额外的成本。
Difficulty values are configurable in EA repository as one of Reference Data set.
Particularly, in EA 13.5 this is accessible via: Configure (ribbon) > Reference Data (group panel) > Project Types (menu button) > General Types (menu option) > Difficulty (value set)
Other Reference Data sets, used for "standard EA" element properties (e.g. Priority or Scenario kind), can be configured that way too. On the other hand, stereotypes and tagged values are more capable features, but they comes with extra cost, if to be used widely and in consistent manner (i.e. need to define UML profile and to apply stereotypes to model elements).