Customization Notes
The user interface customization incorporates pets into the Windchill UI. All basic “CRUD” operations are supported. However, more could be done. For example, while content was not demonstrated in Jython (and is demonstrated in the UI), ownership has been ignored and left out of the UI. How to incorporate concepts like ownership will be covered elsewhere in the guide.
Additionally, both PetInfoAttributesBuilder and PetSetAttributesBuilder set the group’s label to a hard-coded, unlocalizable string. To correct that, take a look at setLabel in PetTable, which does this correctly.
The choice to incorporate the table into Site > Utilities was based on Pet being neither AccessControlled nor WTContained, making it more like Windchill’s administrative objects in practice than like the many Windchill business objects. The manner in which a modeled customization is incorporated into the Windchill UI is largely dictated by the behavior (as determined by the domain interfaces it implements and the parent class it extends).
這是否有幫助?