추가 Windchill 기능 > 제조 공정 관리 > 제품 구조 탐색기(PSE) 사용자 정의 > SectionHeading 내 속성 표시 사용자 정의 > 속성 그룹 표시 사용자 정의
  
속성 그룹 표시 사용자 정의
SectionHeading 요소에는 속성 그룹의 세부내용을 편집하는 데 사용할 수 있는 절이 있습니다. 이 절을 사용하면 디스플레이의 패널(예: 부품 작성 마법사, 기존 부품 삽입 마법사 또는 정보 탭)에서 특정 속성을 숨기거나 표시할 수 있습니다.
다음 샘플 코드에서는 하위 삽입 마법사에 사용되는 CreateChildPartTab2 속성 그룹의 SectionHeading 요소에 "allowAttrDetails=true" 절이 추가되었습니다.
샘플 코드:
<AttributeGroup id="ptc.wnc.exp.CreateChildPartTab2"
scrollable="true" displayMode="edit">
<SectionHeading allowAttrDetails="true">
<Label>
<Resource key="Properties Top"/>
</Label>
</SectionHeading>
<CellDefinition id="name">
<AttributeDefinition attributeId="name"/>
</CellDefinition>
<CellDefinition id="number">
<AttributeDefinition attributeId="number"
rendererClass="com.ptc.windchill.explorer.structureexplorer.render
er.component.PartNumberComponent"/>
</CellDefinition>
<SectionHeading allowAttrDetails="true">
<Label>
<Resource key="Properties 1"/>
</Label>
</SectionHeading>
<CellDefinition id="view">
<AttributeDefinition attributeId="view"
rendererClass="com.ptc.windchill.explorer.structureexplorer.render
er.component.ViewComponent"/>
</CellDefinition>
<CellDefinition id="folder">
<AttributeDefinition attributeId="folder"
rendererClass="com.ptc.windchill.explorer.structureexplorer.render
er.component.DefaultcontextFolderBrowserComponent"/>
</CellDefinition>
<CellDefinition id="source">
<AttributeDefinition attributeId="source"/>
</CellDefinition>
<CellDefinition id="partType">
<AttributeDefinition attributeId="partType"/>
</CellDefinition>
<SectionHeading allowAttrDetails="true">
<Label>
<Resource key="Properties 2"/>
</Label>
</SectionHeading>
<CellDefinition id="usedQuantityAmount">
<AttributeDefinition attributeId="usedQuantityAmount"/>
</CellDefinition>
<CellDefinition id="usedQuantityUnit">
<AttributeDefinition attributeId="usedQuantityUnit"/>
</CellDefinition>
<CellDefinition id="usedTraceCode">
<AttributeDefinition attributeId="usedTraceCode"/>
</CellDefinition>
<CellDefinition id="effPropagationStop">
<AttributeDefinition attributeId="effPropagationStop"/>
</CellDefinition>
<CellDefinition id="jobAuthorizationNumber">
<AttributeDefinition
attributeId="jobAuthorizationNumber"/>
<EnabledDependency inverted="false">
<Assembly assembly="wadm"/>
</EnabledDependency>
</CellDefinition>
<CellDefinition id="contractNumber">
<AttributeDefinition attributeId="contractNumber"/>
<EnabledDependency inverted="false">
<Assembly assembly="wadm"/>
</EnabledDependency>
</CellDefinition>
<CellDefinition id="phase">
<AttributeDefinition attributeId="phase"/>
<EnabledDependency inverted="false">
<Assembly assembly="wadm"/>
</EnabledDependency>
</CellDefinition>
</AttributeGroup>
"allowAttrDetails=true" 절을 추가하면 UI에 다음 출력이 생성됩니다.
SectionHeading을 추가하면 SectionHeading 다음에 나오는 속성 그룹 주위에 상자가 작성됩니다.
SectionHeading의 Label 절은 상자에 텍스트를 제공합니다.
allowAttrDetails="true" 절은 레이블 뒤에 세부내용 아이콘이 표시되도록 하고 패널에 대한 팝업 메뉴가 나타나도록 합니다.
다음은 레이블 뒤의 세부내용 아이콘을 클릭하면 표시되는 세부내용 대화 상자입니다. 사용자는 개별 속성을 숨기거나 표시할 수 있지만 속성의 순서는 변경할 수는 없습니다.
예를 들어, Properties 1 섹션에서 Location 속성을 숨기도록 선택할 수 있습니다. 그러면 이 설정이 해당 사용자의 기본 설정으로 저장되고 다음에 사용자가 PSE를 로드할 때 동일하게 유지됩니다.