Windchill のその他の機能 > 製造プロセス管理 > 製品エクスプローラ (PSE) のカスタマイズ > モデルサブクラス処理用の PSE のカスタマイズ > ソリューション > 手順 - モデルサブクラス処理用の PSE のカスタマイズ > PSE テーブルおよびパネル
  
PSE テーブルおよびパネル
新規のモデル属性を LogicalAttributes.xml ファイルに追加する必要はありませんが、適切な PSE 設定の XML ファイルに追加する必要があります。詳細については、サブタイプ用の PSE のカスタマイズを参照してください。
* 
サブクラスオブジェクトに関してのみ定義された新規のモデル属性を指定する場合は、"wt.part.WTPart" コンテキストで定義された、対応する "AttributeGroup"、"AttributeTable"、または "Table" を適切なサブクラスコンテキストにコピーする必要があります。
リストにする必要があるのは、新規のモデル属性だけです。既存の属性は継承されます。たとえば、name と number は WTPart から継承されます。
継承される属性をサブクラスパネルから除去するには、次のように "<Placement remove="true"/>" を使用します。
<AttributeDefinition id="contextName”>
<Placement remove="true"/>"
</AttributeDefinition>
カスタマイズされたオブジェクトのエレメントグループを追加する場合は、既存のファイルを編集するのではなく、カスタマイズされたすべての変更を別のファイルに挿入するのが賢明です。これらのファイルには、CustomExplorerForTablesAndPanels.xml などの統一性のある名前を付けてください。
"ext.cust.CustPart" が "wt.part.WTPart" を拡張する前述の例を使用する場合は、次の AttributeGroup を "ext.cust.CustPart" の LogicContext の下にコピーします。
<ExplorerElementGroup>
<LogicContext application="ptc.wnc.StructureExplorer"
dataType="wt.part.WTPart"/>
<AttributeGroup id="ptc.wnc.exp.ViewPropertiesPanel" displayMode="view">
<CellDefinition id="number">
<AttributeDefinition attributeId="number"/>
</CellDefinition>
<CellDefinition id="organizationIdentifier">
<AttributeDefinition attributeId="organizationIdentifier"/>
</CellDefinition>
<CellDefinition id="name">
<AttributeDefinition attributeId="name"/>
</CellDefinition>
<CellDefinition id="versionIterationView">
<AttributeDefinition attributeId="versionIterationView"/>
</CellDefinition>
...
</AttributeGroup>
</ElementGroup>
コピー後のコード行は次のようになります。
<ExplorerElementGroup>
<LogicContext application="ptc.wnc.StructureExplorer"
dataType=" ext.cust.CustPart "/>
<AttributeGroup id="ptc.wnc.exp.ViewPropertiesPanel" displayMode="view">
<!-- name and number will inherit from WTPart -->
<!-- adding new modeled attributes here -->
<CellDefinition id="intMBA">
<AttributeDefinition attributeId="intMBA"/>
</CellDefinition>
...
</AttributeGroup>
</ElementGroup>