Define a New Table Component
This process consists of the following steps:
Define a new table id for new table component
Register a table view class for the new table
Define action models for the new table component
Define a New Table ID for New Table Component
The table ID for new component is customTask.resultingItems.
Register a Table View Class for the New Table
The table views listed below are the default table views defined for change tables designed to be rendered in workflow pages.
Table
View Class
Resulting Object
com.ptc.windchill.enterprise.change2.tableViews.WorkflowTaskResultingItemsTableViews
Change Notice Summary
com.ptc.windchill.enterprise.change2.tableViews.WorkflowTaskChangeSummaryTableViews
Register the appropriate table view to the new table by creating a new entry in the custom service.properties.xconf file. Refer to Adding New Resource Bundle Entriesfor details on how to add xconf entries for registering a table view. You can extend the listed table view classes in case you need to change the behavior of the view.
<Service context="default"
name="com.ptc.core.htmlcomp.tableview.ConfigurableTable">
<Option serviceClass=
"com.ptc.windchill.enterprise.change2.tableViews.
WorkflowTaskResultingItemsTableViews" selector="customTask.resultingItems"
requestor="java.lang.Object"/>
</Service>
Please refer to the “Adding a Custom Service Provider Property File” section of Best Practices for Adding New Packages and Files for more details on creating custom xconf entries.
Define Action Models for the New Table Component
The action model that defines the list of actions for tool bar actions and row object actions needs to be defined in custom-actionmodels.xml. The expected action model name for the table tool bar and row object actions should follow the convention described in the following table.
Component
Action Model Name
Example
Tool Bar
table id + “.table.view"
"customTask.resultingItems.table.view"
Row Object
table id + “.row.actions.view"
"customTask.resultingItems.row.actions.view"
* 
If the action model for the row object actions is not defined, the default action model for the row object type is used.
War dies hilfreich?