Windchill のその他の機能 > 製造プロセス管理 > 製品エクスプローラ (PSE) のカスタマイズ > 「要件」タブの作成 > <MenuItem> エレメントで参照される <ActionDefinition> エレメントの定義 > 「要件を実行」操作の ActionDefinition エレメントの定義
  
「要件を実行」操作の ActionDefinition エレメントの定義
「要件を実行」操作の操作定義エレメントが定義されます。
前述の詳細のとおり、<ExplorerElementGroup> エレメントの <LogicContext> サブエレメントにあるアプリケーション属性値 'ptc.pdm.ProductStructureExplorer' を見つけます。次のとおり、LogicContext エレメントの後に ActionDefinition エレメントを追加します。
<ActionDefinition id="mycom.wnc.exp.FulfillRequirementAction"
actionClass="com.ptc.windchill.explorer.structureexplorer.panel
.actions.FulfillChangeActionForStructureWithIntermediateNodeAct
ion">
<StructureAuthorAction>
<Import id="mycom.wnc.exp.PartToRequirementSD"/>
</StructureAuthorAction>
<Import id="ptc.wnc.exp.IsValidInAllWithReadVAL"/>
</ActionDefinition>
* 
<ActionDefinition> で定義された id 属性は、PDMLinkExplorerMenusForRequirementsTab.xml で FulfillReqMI メニューアイテムに定義されたインポート id と一致させる必要があります。
actionClass 属性は、「変更アイテム」および「設計解決策」のノード構造に基づいて定義されます。設計解決策ノードを変更アイテムノードの直後に置き、com.ptc.windchill.explorer.structureexplorer.panel.actions.FulfillChangeActionAction クラスを指定します。設計解決策ノードが変更アイテムノードの 2 レベル下にある場合は、com.ptc.windchill.explorer.structureexplorer.panel.actions.FulfillChangeActionForStruc tureWithIntermediateNodeAction クラスを指定します。
<StructureAuthorAction> エレメントのインポート id は、ExplorerStructures.xml ファイルで定義されている構造定義の id と一致させる必要があります。
actionClass で定義されているレベルにあるすべての部品が、条件を満たす設計解決策候補とみなされ、ピックリストに入ってユーザーに表示されます。