如何在企业架构师的下拉列表中添加几个标记的值? [英] How to add several tagged values in a drop down list in enterprise architect?

查看:84
本文介绍了如何在企业架构师的下拉列表中添加几个标记的值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用企业架构师,并且希望在下拉列表中将多个值显示为标记值。我只能为标记的值提供一个值,但是我不知道如何从一系列选择中做到这一点。 sparx系统在用户指南中找不到帮助。也许我找不到它...有什么帮助吗?

I am using enterprise architect and I want to have several values displayed in a drop down list as tagged values. I am only able to give one value to the tagged value but I don't know how to do it for a list of choices. I could not find help in the userguide by sparx systems. Maybe I did not find it...any help?

谢谢

推荐答案

要在 Enterprise Architect 中创建下拉标记值的列表:

To create a list of drop down tagged values in Enterprise Architect:


  1. 打开标记的值可停靠窗口[视图|标记值](Ctrl + Shift +6)

  1. Open the Tagged Values Dockable Window [View | Tagged Values] (Ctrl + Shift +6)

在标记值窗口中单击默认标记值类型按钮。

Click "Default Tagged Value Types" button on the Tagged Values window.

这将打开UML类型对话框。

This will open the UML Types Dialog.

浏览到标记值类型选项卡(默认情况下应打开)

Browse to the Tagged Value Types Tab (should be open by default)

输入新标记值的名称

详细输入以下:

Type = Enum;
Values = Val1,Val2,Val3;
默认值= Val2;

Type=Enum; Values=Val1,Val2,Val3; Default=Val2;

7。(其中val是您的下拉选项)

7.(Where the vals are your drop down options)

8.单击保存并关闭UML类型对话框

8.Click Save and Close the UML Types Dialog

要访问此新的下拉标记值,请单击新标记值,然后从列表中选择标记,然后单击确定。您的下拉选项现在将在标记的值窗口中可用。

To access this new drop down tagged value click "New Tagged Value" and select your tag from the list and click OK. Your drop down options will now be available in the Tagged Values window.

您可以找到所有不同标记值类型命令的列表此处

You can find a list of all the different tag value type commands here

我希望这会有所帮助。

这篇关于如何在企业架构师的下拉列表中添加几个标记的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆