추가 Windchill 기능 > 서비스 정보 관리 > Customizing Windchill Service Information Manager and Windchill Service Parts(Windchill Service Information Manager 및 Windchill Service Parts 사용자 정의) > Windchill Service Parts 사용자 정의 개요 > 서비스 제품 구조 탐색기 사용자 정의
  
서비스 제품 구조 탐색기 사용자 정의
서비스 제품 구조 탐색기를 비롯한 Windchill 탐색기를 사용자 정의할 수 있습니다. 탐색기 사용자 정의에 대한 자세한 내용은 Windchill 도움말 센터에서 Customizing the Product Structure Explorer(PSE)와 해당 관련 항목을 참조하십시오. 이 단원에는 서비스 제품 구조 탐색기 사용자 정의에 대한 자세한 내용이 들어 있습니다.
개요
탐색기 구성 파일은 다음 디렉토리에 있습니다.
codebase\config\logicrepository\xml\explorer
해당 디렉토리의 \servicebom 디렉토리에는 서비스 제품 구조 탐색기가 나타나고 작동하는 방법을 지정하는 XML 파일이 들어 있습니다. 특히 이 파일은 서비스 제품 구조 탐색기가 제조 제품 구조 탐색기 및 제품 구조 탐색기와 어떻게 다른지 정의합니다. 이 XML은 ptc.sis.ProductStructureExplorer의 논리 컨텍스트를 가지며, 각 XML 파일의 처음에 다음과 같이 지정됩니다.
<LogicContext application="ptc.sis.ProductStructureExplorer"/>
이 논리 컨텍스트는 사용자 인터페이스를 빌드하는 데 어떤 계층의 XML 요소를 사용할지를 결정해 줍니다. 사용자 정의 XML의 추가 계층도 사용자 인터페이스를 빌드하는 데 사용됩니다. XML의 이 계층은 \explorer\customization 디렉토리에 있습니다. 기본적으로 \customization에는 서비스 제품 구조 탐색기에 대한 사용자 정의를 정의하기 위한 CustServiceBOMExplorerMain.xml 파일이 포함되어 있습니다. 서비스 제품 구조 탐색기 사용자 정의 XML 파일은 ptc.cust.sis.ProductStructureExplorer의 논리 컨텍스트를 지정합니다.
서비스 제품 구조 탐색기 사용자 정의
\servicebom의 파일이 서비스 제품 구조 탐색기를 제조 제품 구조 탐색기 및 제품 구조 탐색기와 구별하는 방법과 유사한 방식으로 서비스 제품 구조 탐색기를 사용자 정의하는 데 CustServiceBOMExplorerMain.xml을 사용합니다. CustServiceBOMExplorerMain.xml이 아닌 다른 파일을 사용할 수 있지만, 모든 XML 세그먼트에 대한 응용 프로그램 ID는 ptc.cust.sis.ProductStructureExplorer여야 합니다.
서비스 제품 구조 탐색기를 사용자 정의하려면 다음 단계를 사용하십시오.
1. 제품 설치 디렉토리 복사본의 다음 파일에서 해당 설명 줄 아래에 새 탐색기 그룹이나 수정된 탐색기 그룹을 추가합니다.
\codebase\config\logicrepository\xml\
explorer\customization\CustServiceBOMExplorerMain.xml
또는 \servicebom에서 \customization으로 파일을 복사하고 해당 파일의 \customization에 요소를 추가하거나 변경합니다. 모든 XML 세그먼트에 대한 응용 프로그램 ID는 ptc.cust.sis.ProductStructureExplorer여야 합니다.
2. 메소드 서버를 다시 시작하여 논리 저장소를 업데이트합니다.
3. Windchill Service Parts서비스 제품 구조 탐색기를 시작하고 변경 사항을 검토합니다.
예제
메뉴 항목 숨기기:
<ExplorerElementGroup>
<LogicContext application="ptc.cust.sis.ProductStructureExplorer"/>

<!-- This markup will remove the Preferences dialog menu item -->
<!-- from the sPSE File menu -->
<ActionAccess id="ptc.pdm.pse.ExplorerTreeAA">
<MenuBar id="MenuBar">
<Menu id="FileMenu">
<MenuItem id="FileSISPreferencesMI">
<Placement remove="true"/>
</MenuItem>
</Menu>
</MenuBar>
</ActionAccess>
</ExplorerElementGroup>
테이블 수정:
<ExplorerElementGroup>
<LogicContext application="ptc.cust.sis.ProductStructureExplorer"
dataType="wt.part.WTPart" />
<!-- This markup will cause the "name" column in the dual tree -->
<!-- view upstream tree to be hidden by default. The column can -->
<!-- still be re-enabled by right-clicking on any column heading -->
<!-- from that tree, and selecting "Name." -->
<Table id="ptc.mpm.pse.DualModeMainTreeTable"
selectionMode="multi-non-contiguous"
displayMode="view">
<CellDefinition id="name" displayWhenNoPreferenceSet="false"/>
</Table>
</ExplorerElementGroup>