其他 Windchill 功能 > 制造过程管理 > 自定义产品结构浏览器 (PSE) > 创建“需求”选项卡 > 定义 <MenuItem> 元素中所参考的 <ActionDefinition> 元素 > 定义“生成更改操作”的 ActionDefinition 元素
  
定义“生成更改操作”的 ActionDefinition 元素
这将定义“生成更改操作”操作的 ActionDefinition 元素。
按照上面的详述,以 'ptc.pdm.ProductStructureExplorer' 的应用程序属性值找到子元素为 <LogicContext> 的 <ExplorerElementGroup> 元素。在 LogicContext 元素之后添加如下所示的 ActionDefinition 元素:
<ActionDefinition id="mycom.wnc.exp.GenerateRequirementsAction"
actionClass="com.ptc.windchill.explorer.structureexplorer.panel
.actions.GenerateChangeActionsAction">
<Action/>
<Import id="ptc.wnc.exp.IsValidInAllVAL"/>
</ActionDefinition>
* 
在 <ActionDefinition> 中定义的 id 属性必须与 PDMLinkExplorerMenusForRequirementsTab.xml 中定义的 GenerateReqsMI 菜单项的已定义导入 id 相匹配。