Implementing Custom Complexity Delegates in Windchill
If the Complexity list is not displayed by default, then an administrator should add the Complexity attribute in the Layouts tab of the change request or change notice type in the Type and Attribute Management utility. The complexity value is propagated to a new change request irrespective of the settings of the Propagate information check box. You can edit the complexity value, if required.
When a user selects any custom complexity value for a change request (except Fast Track and Full Track), they can also select any of the custom complexity values for a change notice while creating it for that change request.
This is because, the out-of-the-box (OOTB), DefaultChangeItemComplexityDelegate.java, which is the default implementation of ChangeItemComplexityDelegate.java, currently controls the display of the complexity values for selection.
The wt.change2.ChangeItemComplexityDelegate calculates the value of complexity for the change object. This delegate is marked as a Supported Interface.
Administrators can customize the calculation logic by implementing wt.change2.ChangeItemComplexityDelegate and then registering their custom delegate.
Isto foi útil?