Class ChangeTransitionDataUtility
java.lang.Object
com.ptc.core.components.factory.AbstractDataUtility
com.ptc.windchill.enterprise.change2.dataUtilities.ChangeLinkAttributeDataUtility
com.ptc.windchill.enterprise.change2.dataUtilities.ChangeTransitionDataUtility
- All Implemented Interfaces:
DataUtility
Displays the default or selected change management transition for a resulting
Supported API: true
Extendable: true
(ChangeRecord2) objects.
The default will only be displayed in the create or edit change task wizard. The resulting object table on the info
page will only show the persisted change management transition. If there is more than one available transition the
table in the wizard with show the ComboBox with the "Change" transition as the default.
Supported API: true
Extendable: true
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ptc.windchill.enterprise.change2.dataUtilities.ChangeLinkAttributeDataUtility
ChangeLinkAttributeDataUtility.LinkType -
Field Summary
Fields inherited from class com.ptc.windchill.enterprise.change2.dataUtilities.ChangeLinkAttributeDataUtility
referenceLinkMap -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractGuiComponentcreateGuiComponent(String component_id, Object datum, ChangeLinkAttributeBean linkBean) Creates the gui component display for the transition.protected TransitiongetDefaultTransition(String component_id, Object datum, ChangeLinkAttributeBean linkBean) The default transition will be first be the persisted value and then "Change" if the "Change" transition is one of the available transition for the resulting object.Methods inherited from class com.ptc.windchill.enterprise.change2.dataUtilities.ChangeLinkAttributeDataUtility
getApprovedQuantityTextBox, getDataValue, getGUIComponentId, getLabel, getLinkClass, getMaxLength, getResultingChangeable, getTextDisplayComponent, initializeDescriptor, processExistingLinks, setEventListener, setNumericEventListenerMethods inherited from class com.ptc.core.components.factory.AbstractDataUtility
getColumnDescriptor, getComponentBasedLabel, getIntrospectionBasedLabel, getLabel, getLabelKey, getMainClassName, getModelAttributes, getPropertyDisplayName, getSoftLabel, getToolTip, resolveJCAObject
-
Method Details
-
createGuiComponent
protected AbstractGuiComponent createGuiComponent(String component_id, Object datum, ChangeLinkAttributeBean linkBean) throws WTException Creates the gui component display for the transition. If there is more than one available transition the table in the wizard with show theComboBoxwith the "Change" transition as the default.
Supported API: true- Overrides:
createGuiComponentin classChangeLinkAttributeDataUtility- Parameters:
component_id-datum-linkBean-- Returns:
- GUI component
- Throws:
WTException
-
getDefaultTransition
protected Transition getDefaultTransition(String component_id, Object datum, ChangeLinkAttributeBean linkBean) throws WTException The default transition will be first be the persisted value and then "Change" if the "Change" transition is one of the available transition for the resulting object. Null will be returned when no default can be determined.
Supported API: true- Throws:
WTException
-