추가 Windchill 기능 > 제조 공정 관리 > 제품 구조 탐색기(PSE) 사용자 정의 > PSE 테이블 표시 사용자 정의
  
PSE 테이블 표시 사용자 정의
목표
특정 열이 필수인지 또는 선택 사항인지 여부나 열이 고정 열인지 여부에 관계없이 PSE 테이블의 기본 열 표시 순서를 변경할 수 있습니다.
배경 정보
Windchill PDMLink PSE는 사용자가 테이블의 열 표시를 사용자 정의할 수 있는 기능을 제공합니다. 예를 들어, 사용 탭에 대한 열 세부내용이 있습니다.
하지만 각 테이블의 열을 정의하는 PSE XML 파일에 설정된 제한 내에서 사용자가 수행할 수 있는 작업을 제어할 수 있습니다.
범위/적용 가능성/가정
이러한 변경 사항은 PSE XML 파일에 대해 수행되므로 모든 PSE 사용자에게 적용됩니다.
의도한 결과
기본 디스플레이에 사용 탭의 번호 열이 고정 필수 열(스크롤되지 않음)로 나타납니다. 이름은 필수 속성으로, 이름 및 참조 지정자 범위는 고정 열로, 번호는 고정되지 않은 선택적 열로 표시하고, 라인 번호는 사용 가능하지만 표시하지 않도록 고려해 보십시오. 번호는 선택 사항이므로 테이블 형식 입력 검색에서 제거됩니다.
다음 그림은 PSE 사용자 인터페이스가 표시되는 방식을 보여줍니다.
솔루션
PSE XML 파일에 사용된 CellDefinition 요소에는 테이블의 열 표시를 제어하고 사용자가 테이블의 모양 및 동작을 변경할 수 있는 범위를 제어하는 많은 속성이 있습니다.
속성
설명
mandatory
필수인 경우 사용자가 열을 숨길 수 없습니다.
displayWhenNoPreferenceSet
필수가 아닌 경우 열을 표시할지 여부를 나타냅니다.
pinnable
사용자가 열을 고정할 수 있는지 여부를 나타냅니다.
pinned
열을 기본적으로 고정 열로 나타낼지 여부를 나타냅니다.
usedByTabularInput
초안 및 주석 달기 모드에서 데이터 엔트리 검색에 셀이 사용되는지 여부를 지정합니다.
사용 탭 테이블을 포함한 대부분의 PSE 테이블은
<Windchill>/codebase/config/logicrepository/xml/explorer/structureexplorer/Expl
orerForTablesAndPanels.xml
파일에 정의됩니다.
사전 지식
이 목표를 달성하려면 다음 사항을 이해해야 합니다.
XML 파일 사용자 정의 관리
솔루션 요소
요소
유형
설명
ExplorerForTablesAndPanels.xml
XML 파일
테이블 및 패널의 정의가 들어 있습니다.
위치:
<Windchill>/codebase/config/logicreposi tory/xml/structureexplore
테이블
XML 요소
테이블 및 컨텐트를 정의합니다.
CellDefinition
XML 요소
AttributeTable에 표시할 속성(적절한 동작 포함)입니다.
절차
ptc.wnc.exp.PartUsesLinkTabTable이라는 테이블 id가
<Windchill>/codebase/config/logicrepository/xml/explorer/structureexplorer/Explorer ForTablesAndPanels.xml
파일에 있는 경우 이 id는 ptc.wnc.exp.PartUsesOccTabTable 테이블이 사용된 경우를 보여 줄 때 사용 테이블 BOM을 표시하는 데 사용됩니다.
테이블에 대한 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를 다시 시작할 때 의도한 결과 단원에 표시된 대로 사용 탭 테이블이 나타납니다.
사용자 정의 지점
id가 "ptc.pdm.pse.ExplorerTreeTable"인 PSE 구조 정의는 다음 위치에서 찾을 수 있습니다.
<Windchill>/codebase\config\logicrepository\xml\explorer\productstructure\PDMLink
ExplorerForTablesAndPanels.xml
또한 Windchill Supplier Management가 설치되어 있는 경우 해당 테이블은 다음 위치에 정의됩니다.
<Windchill>/codebase\config\logicrepository\xml\explorer\productstructure\Explorer
ForTablesAndPanelsForSUMA.xml