您可以通过编辑与菜单相关联的 order.txt 文件来自定义任何菜单的外观。
本节中的步骤适用于所有菜单类型。
编辑 order.txt 文件以自定义菜单
In the Profile Manager, in the profile name column, right-click the check mark for the order.txt file and click Make Local.
Right-click the check mark for the order.txt file in the User column and click Open > in Notepad. The order.txt file displays.
(Optional) Add or change the [Inclusive] or [Exclusive] setting at the top of the file if desired. This setting controls whether items not listed in the order.txt file but present in the Profile Manager is listed on the menu. 选项包括:
[包括]:这是默认设置。 该设置导致order.txt文件中未指定的菜单项按照字母顺序列在菜单的底部。For example, if theProfile Managercontained a Profile item in addition the those listed in theorder.txtabove, Profile would display below Data.
[独家]:此设置导致未在文件中指定的菜单项order.txt被排除在菜单中。 For example, if theProfile Managercontained a Profile item in addition the those listed in theorder.txtabove, Profile would not be displayed anywhere on the menu.
空白: 如果文 [件顶部既不显] 示“包含 [”也不显示“排除”] ,则Data Workbench会像设置为“包含”一样显示菜 [单项]。
完成以下一个或多个步骤:
若要执行此任务... | 请执行以下操作... |
---|---|
对菜单项重新排序 |
按您希望物料在Data Workbench中显示的顺序键入物料名称。 例如,只要每个菜单项名称与其对应的文件或文件夹名称相匹配,下面的内容便将导致首先显示添加表格,然后显示添加可视化、添加图例,最后显示添加注释。 添加表格 添加可视化 Add Legend 添加注释 |
重命名菜单项 |
在“配置文件管理器”中重命名对应的文件或文件夹,然后在 order.txt 文件中更改项目的名称。 例如,若要将 Add Annotation(添加批注)重命名为 New Annotation(新建批注),请在“配置文件管理器”中将 Add Annotation 文件夹重命名为 New Annotation,然后在 order.txt 文件中将 Add Annotation 项目的名称更改为 New Annotation。 |
隐藏菜单项 |
若要隐藏菜单项而不删除项目本身,请在项目名称前面输入一个减号 (-)。 例如,下面的内容将导致 Add Annotation(添加批注)不会出现在菜单中。 Add Legend -Add Annotation To again show the hidden menu item, simply remove the minus sign (-) or use the Unhide All parameter in the Insight.cfg file, see Insight Configuration Parameters. 您也可以使用下面的方法来隐藏菜单项:
|
删除菜单项 |
如果将该文件设置为使用 [Exclusive]([独占])选项,则只需从该文件中删除菜单项。项目本身仍然在配置文件中,但却不列在菜单中。 如果将该文件设置为使用 [Inclusive]([包含])选项,则必须从该文件中删除菜单项名称,并删除对应文件或对其进行零字节处理,这样才能从菜单中删除项目。 有关删除文件的信息,请参阅从工作配置文件中删除文件。有关零字节文件的信息,请参 阅使用空(零字节)文件隐藏文件。 |
添加组标题 |
在您希望显示的标题文本前面和后面分别键入三个连字符。 例如,下面的内容将为一组相关菜单项添加一个 Manage(管理)组标题。 ---管理--- Profile Dataset |
添加一条直线以分隔菜单的各个部分 |
在要显示直线的位置键入三个连字符。 例如,下面的内容将导致用一条直线分隔 Add Annotation(添加批注)和 Add Custom(添加自定义)。 Add Annotation --- Add Custom |
保存并关闭该文件。
(Optional) To make the changes available to all users of the working profile, right-click the white check mark for the order.txt file in the User column and click Save to > * working profile name.