其他 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 相符。