Windchill菜单客制化 下载本文

内容发布更新时间 : 2024/5/19 6:12:19星期一 下面是文章的全部内容请认真阅读。

客制化知识

============================================================================== 一、 刚刚安装好的Windchill系统,OOTB 在Windchill Shell运行ant –f bin\\swmaint.xml createSafeArea会在WC_HOME出现 wtSafeArea文件夹其下有ptcCurrent、ptcOrig、siteMod三个文件夹 二、 siteMod下创建codebase\\config\\actions三个文件夹

从WC_HOME\\codebase\\config\\action复制custom-actionModels.xml、custom-actions.xml两个文件到siteMod\\codebase\\config\\actions下 一级菜单

一、custom-actionModels.xml文件格式:

Example:

二、custom-actions.xml文件格式:(注意:command标签内可以不加url,是因为WC_HOME\\codebase\\netmarkets\\jsp\\newTab 已在actionModels的type="newTab")

Example:

三、资源文件navigationRB.rbInfo(navigationRB_en_US.rbInfo)

Example:

四、资源文件navigationRB_zh_CN.rbInfo

Example:

五、编译格式:

Example:

六、效果图如图所示:

二级菜单

一、custom-actionModels.xml文件格式:

Example:

二、custom-actions.xml文件格式:(注意:command标签内可以不加url,是因为WC_HOME\\codebase\\netmarkets\\jsp\\newTab 已在actionModels的type="newTab")

Example:

三、资源文件navigationRB.rbInfo(navigationRB_en_US.rbInfo)

Example:

四、资源文件navigationRB_zh_CN.rbInfo

Example:

五、编译格式:

Example:

六、效果图如图所示: