Windchill のその他の機能 > 製造プロセス管理 > 製品エクスプローラ (PSE) のカスタマイズ > 「要件」タブの作成 > 要件タイプの <Table> エレメントの定義
  
要件タイプの <Table> エレメントの定義
構造ツリーで選択した部品に関連付けられている要件 (変更作業) を表示するテーブルを定義します。列に次のデータが表示されます。
要件の数
要件のエフェクティビティ範囲
要件のステータス
この要件を所有する ChangeDirective の数
この要件を満たす部品の識別子
この要件の先行用件数
要件タイプの <Table> エレメントを定義するには
1. PDMLinkExplorerForTablesAndPanels.xml ファイルを次の場所から開きます:
<Windchill>/codebase/config/logicrepository/xml/explorer/produc
tstructure
2. ファイルの最後に:
a. 次の <ExplorerElementGroup> を <LogicRepository> エレメントのサブエレメントとして作成します。
b. <ExplorerElementGroup> の <LogicContext> サブエレメントを定義して、要件データタイプを加えます。
c. <Table> エレメントと列、<CellDefinition> エレメントを定義して、テーブルで表示されるようにします。
<LogicRepository>
...
<ExplorerElementGroup>
<LogicContext
application="ptc.pdm.ProductStructureExplorer"
dataType="wt.change2.ChangeAction"/>

<Table id="airbus.wnc.exp.ChangeActionTabTable"
selectionMode="multi-non-contiguous" displayMode="view">
<CellDefinition id="number" mandatory="true" \
pinned="true">
<Label>
<Resource key="reqNumberLabel"/>
</Label>
<AttributeDefinition attributeId="number"/>
</CellDefinition>
<CellDefinition id="effVector" mandatory="true">
<Label>
<Resource key="reqValidityLabel"/>
</Label>
<AttributeDefinition attributeId="displayEffectivity"/>
</CellDefinition>
<CellDefinition id="theActionState"
mandatory="true">
<Label>
<Resource key="reqStatusLabel"/>
</Label>
<AttributeDefinition attributeId="theActionState"/>
</CellDefinition>
<CellDefinition id="owningChangeDirective"
mandatory="true">
<Label>
<Resource key="relatedCINLabel"/>
</Label>
<AttributeDefinition attributeId="MBA|
owningChangeDirectiveReference^WCTYPE|
wt.change2.WTChangeDirective~MBA|number"
rendererClass="com.ptc.windchill.explorer.structureexplorer.ren
derer.component.TypeIconifiedStringComponent"/>
</CellDefinition>
<CellDefinition id="satisfyPartMaster"
mandatory="true">
<Label>
<Resource key="fulfillingDSLabel"/>
</Label>
<AttributeDefinition attributeId="MBA|
satisfyPartMasterReference^WCTYPE|wt.part.WTPartMaster~MBA|
masterReference@WCTYPE|wt.part.WTPart~SCA|displayIdentifier"
rendererClass="com.ptc.windchill.explorer.structureexplorer.ren
derer.component.TypeIconifiedStringComponent"/>
</CellDefinition>
<CellDefinition id="oldActionReference"
displayWhenNoPreferenceSet="false">
<Label>
<Resource key="reqPredecessorLabel"/>
</Label>
<AttributeDefinition attributeId="MBA|
oldActionReference^WCTYPE|wt.change2.ChangeAction~MBA|number"
rendererClass="com.ptc.windchill.explorer.structureexplorer.ren
derer.component.TypeIconifiedStringComponent"/>
</CellDefinition>
</Table>
</ExplorerElementGroup>
</LogicRepository>
* 
<LogicContext> エレメントの dataType 属性によって、定義したテーブルに表示される部品のタイプが定義されます。
<Table> の id 属性は、前で定義した <AssociationTable> エレメントのインポートサブエレメントで指定されている id と一致させる必要があります。
<CellDefinition> エレメントの attributeId 属性によって、そのセルに表示される修飾属性データが定義されます。
<CellDefinition> エレメントの rendererClass 属性はオプションで、セルのデフォルトのレンダラーをオーバーライドします。
<Label> エレメントの <Resource> サブエレメントは、列ヘッダで使用されるリソースファイルで定義されたテキストラベルを参照します。