Windchill のその他の機能 > 製造プロセス管理 > 製品エクスプローラ (PSE) のカスタマイズ > PSE 構造照会のカスタマイズ > ソリューション > 手順
  
手順
ExplorerSearchableTypes.xml ファイルの最後の行 </LogicRepository> の前に次の行を挿入します。
<!-- New Query definition for subtype myPart -->
<ExplorerElementGroup>
<LogicContext application="ptc.wnc.StructureExplorer"
dataType="com.aprilia.www.myPart"/>
<AttributeGroup id="ptc.wnc.exp.QuerySearchableAttrs" displayMode="view">
<!-- Remove the following that would otherwise be inherited from WTPart
Definition -->
<CellDefinition id="endItem">
<Placement remove="true"/>
</CellDefinition>
<CellDefinition id="genericType”>
<Placement remove="true"/>
</CellDefinition>
<CellDefinition id="referenceDesignator">
<Placement remove="true"/>
</CellDefinition>
<!-- Add the specific attributes of myPart -->
<CellDefinition id="myCost">
<AttributeDefinition attributeId="com.aprilia.www.myCost"/>
</CellDefinition>
<CellDefinition id="myDescription">
<AttributeDefinition attributeId="com.aprilia.www.myDescription"/>
</CellDefinition>
</AttributeGroup>
</ExplorerElementGroup>
メソッドサーバーが再起動されると、「期待される結果」セクションに示すように、"myPart" が「タイプ」ドロップダウンメニューに表示され、「プロパティ」ドロップダウンメニューから「最終品目」、「ジェネリック」、および「参照指定子」の各エントリが除去され、"myCost" と "myDescription" が追加されます。
または、XML のカスタマイズを通じて PSE UI のほかの側面に変更を加える場合は、すべての "myPart" カスタマイズを格納する XML ファイルにこれらの行を追加することもできます。