其他 Windchill 功能 > 制造过程管理 > 自定义产品结构浏览器 (PSE) > 自定义 PSE 菜单、工具栏和弹出式菜单 > 自定义弹出式菜单
  
自定义弹出式菜单
可以根据给定模式更改弹出式菜单的内容。支持在定义中添加现有操作、删除和重新排序项。
考虑“使用”选项卡。表格的弹出式菜单并非出厂设置;包括“草稿”模式下的“插入现有的”“插入新的”操作。要将这些操作添加至弹出式菜单,只需更改 ExplorerMenusForUsesTab.xml 中的 XML 即可插入 MenuItemIdentifier。
<ModePopupMenu id="PopupMenuB">
<Import id="ptc.wnc.exp.DraftAppMode"/>
<Import id="ptc.wnc.exp.AnnotateAppMode"/>
<MenuItemIdentifier id="ptc.wnc.exp.CutAssocMI"/>
<MenuItemIdentifier id="ptc.wnc.exp.CopyAssocMI"/>
<MenuItemIdentifier id="ptc.wnc.exp.PasteAssocMI"/>
<Separator/>
<MenuItemIdentifier id="AddChildMI"/>
<MenuItemIdentifier id="NewChildMI"/>
<Separator/>
<MenuItemIdentifier id="ReplaceExistingMI"/>
<MenuItemIdentifier id="CreateAndReplaceMI"/>
<MenuItemIdentifier id="ReplaceNewMI"/>
<MenuItemIdentifier id="ReplaceAlternateMI"/>
<Separator/>
<MenuItemIdentifier id="ptc.wnc.exp.RevertAssocMI"/>
<MenuItemIdentifier id="ptc.wnc.exp.CommentAssocMI"/>
</ModePopupMenu>
这将使“替换为全局替换部件/特定替换部件”显示在“使用”选项卡的弹出式菜单中,如预期结果所示。