其他 Windchill 功能 > 製造流程管理 > 自訂產品結構總管 (PSE) > 建立「要求」標籤 > 定義「要求」標籤的 <Tab> 元素
  
定義「要求」標籤的 <Tab> 元素
如此可定義「要求」標籤元素。
1. 從下列位置開啟 PDMLinkExplorerMain.xml 檔案:
<Windchill>/codebase/config/logicrepository/xml/explorer/product
structure
2. <TabSet> 元素之後,定義「要求」標籤的 <Tab> 元素:
<TabSet id="ptc.pdm.pse.ExplorerTaskTabSet" ... >
...
</TabSet>
<Tab id="mycom.wnc.exp.RequirementsTab"
tabClass="com.ptc.windchill.explorer.structureexplorer.explorer
.tabs.ShowTablesTab"
enabledDeciderClass="com.mycom.windchill.explorer.structureexpl
orer.deciders.RequirementsEnabledDecider">
<Label imageName="wtcore/images/change_action.gif">
<Resource key="requirementsTabLabel"/>
</Label>
<Panel>
<Import id="mycom.pdm.pse.RequirementAssocTable"/>
</Panel>
</Tab>
* 
Tab 元素的 ID 屬性必須與上面定義的 <TabSet> 元素的匯入子元素內所指定的 ID 相符。
針對 Tab 元素的 enabledDeciderClass 屬性定義的類別可控制使用者在結構樹中選取零件時,將啟用的此標籤的類型。此動作必須由客戶實行。
<Label> 子元素的 imageName 屬性可定義將顯示在標籤上的圖示。
<Label> 的 <Resource> 子元素係指標籤的已定義文字標籤。
<Panel> 元素包含待顯示的已定義表格匯入項。