추가 Windchill 기능 > 제조 공정 관리 > 제품 구조 탐색기(PSE) 사용자 정의 > 요구 사항 탭 작성 > 요구 사항 유형에 대한 <Table> 요소 정의
  
요구 사항 유형에 대한 <Table> 요소 정의
구조 트리에서 선택된 부품과 연관된 요구 사항(변경 작업)을 표시할 테이블을 정의합니다. 다음은 열에 표시되는 데이터입니다.
요구 사항 번호
요구 사항 유효성 범위
요구 사항 상태
이 요구 사항을 소유하는 ChangeDirective의 번호
이 요구 사항을 이행하는 부품의 식별자
이 요구 사항의 선행자 요구 사항 번호
요구 사항 유형에 대한 <Table> 요소를 정의하려면 다음 절차를 따르십시오.
1. 다음 위치에서 PDMLinkExplorerForTablesAndPanels.xml 파일을 엽니다.
<Windchill>/codebase/config/logicrepository/xml/explorer/produc
tstructure
2. 파일 끝에서 다음 작업을 수행합니다.
a. <LogicRepository> 요소의 하위 요소로 다음 <ExplorerElementGroup>을 작성합니다.
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> 요소의 import 하위 요소에 지정된 id와 일치해야 합니다.
<CellDefinition> 요소의 attributeId 속성은 해당 셀에 표시될 적격 속성 데이터를 정의합니다.
<CellDefinition> 요소의 rendererClass 속성은 선택 사항이며 셀에 대한 기본 렌더러를 무시합니다.
<Label> 요소의 <Resource> 하위 요소는 리소스 파일에 정의된 열 헤더에 사용될 텍스트 레이블을 참조합니다.