Windchill のその他の機能 > 製造プロセス管理 > 製品エクスプローラ (PSE) のカスタマイズ > PSE テーブル表示のカスタマイズ > ソリューション > 手順
  
手順
子部品の BOM テーブルを表示するには、テーブル ID ptc.wnc.exp.PartUsesLinkTabTable (
<Windchill>/codebase/config/logicrepository/xml/explorer/structureexplorer/Explorer ForTablesAndPanels.xml
) が使用され、オカレンスの表示には ptc.wnc.exp.PartUsesOccTabTable が使用されます。
テーブルの CellDefinition の順序を変更し、mandatory、displayWhen NoPreferenceSet、pinnable、pinned、および usedByTabularInput のそれぞれに適切な値を指定することにより、目的のテーブルを形成できます。
<Table id="ptc.wnc.exp.PartUsesLinkTabTable"
selectionMode="multi-non-contiguous" displayMode="view">
<CellDefinition id="name" pinned="true" mandatory="true"
usedByTabularInput="true" displayModeOverride="edit">
<AttributeDefinition attributeId="name">
<Import id="ptc.wnc.exp.SurfaceAttrAction"/>
</AttributeDefinition>
</CellDefinition>
<CellDefinition id="referenceDesignatorRange"
pinned="true" mandatory="false" displayModeOverride="edit">
<Label>
<Resource key="referenceDesignatorRangeLabel"/>
</Label>
<AttributeDefinition
attributeId="referenceDesignatorRange">
<Import id="ptc.wnc.exp.RefDesRangeAttrAction"/>
</AttributeDefinition>
</CellDefinition>
<CellDefinition id="number" pinned="false"
mandatory="false" displayWhenNoPreferenceSet="true"
usedByTabularInput="false" displayModeOverride="edit">
<AttributeDefinition attributeId="number">
<Import id="ptc.wnc.exp.SurfaceAttrAction"/>
</AttributeDefinition>
</CellDefinition>
<CellDefinition id="usedLineNumber" pinned="false"
mandatory="false" displayWhenNoPreferenceSet="false"
displayModeOverride="edit">
<Label>
<Resource key="lineNumberLabel"/>
</Label>
<AttributeDefinition attributeId="usedLineNumber"
rendererClass="com.ptc.windchill.explorer.structureexplorer.render
er.component.LineNumberComponent">
<Import id="ptc.wnc.exp.LineNumberAttrAction"/>
</AttributeDefinition>
</CellDefinition>
この変更を加えた後で、メソッドサーバーを再起動する必要があります。クライアント UI は正しく表示されない場合がありますが、これは、現在のテーブルレイアウトを保持するためのユーザープリファレンスが使用されているからです。このプリファレンスを解除するには、「ファイル」 > 「プリファレンス」の順に選択し、「列/ウィンドウレイアウトのプリファレンスをリセット」の「リセット」ボタンをクリックします。PSE を再起動すると、予測される結果に示すような「子部品」タブテーブルが表示されます。