Personnalisation de base > User Interface Customization > Customizing HTML Clients Using the Windchill JSP Framework > Customization Points > Customizing Tabs by Implementing Custom TabSetDelegate
  
Customizing Tabs by Implementing Custom TabSetDelegate
It is possible to control a different algorithm for displaying the tabs. The TabSetDelegate class is what brings together tabs from the *actions.xml and tabs that are stored in the database. The RenderInfoPageModelTag will take the output from the TabSetDelegate.getDefaultAndDynamicTabs() and render out JSON that will display the tabs on the client. The code could look something similar to the following:
public class DefaultTabSetDelegate implements TabSetDelegate {

/**
* This is the main method to add the site, org and user tabs along side
* the default set that was in the action model.
*/
public NmHTMLActionModel getDefaultAndDynamicTabs() {…code here}
To add your own TabSetDelegate class you can specify the following in the service.properties file:
<Service context="default" name="com.ptc.core.ui.tab.TabSetDelegate">
<Option serviceClass="com.ptc.core.ui.tab.your.package.
CustomizedClassDelegate"
requestor="infoPage" selector="wt.part.WTPart"/>
</Service>
The selector is specified for the type of wt.part.WTPart. This means that the delegate will be called for part information pages and all soft types of WTPart.
Customization Points