Interface LogicSeparatedDataUtility
- All Superinterfaces:
DataUtility
- All Known Implementing Classes:
com.ptc.core.components.factory.dataUtilities.AbstractAttributeDataUtility,AbstractMailToDataUtility,com.ptc.core.components.factory.dataUtilities.DefaultDataUtility,DesignContextNameDataUtility,EquivalenceNetworkDataUtility,FloatingBaselineMemberStatusDataUtility,com.ptc.windchill.lotbaseline.data.util.LotBaselinableMultiObjectDataUtility,MpmlSequenceCategoryDataUtility,com.ptc.core.components.factory.dataUtilities.NameDataUtility,com.ptc.core.components.factory.dataUtilities.NameNumberDataUtility,NewCadDocFileNameDataUtility,NewCadDocNameDataUtility,NewCadDocNumberDataUtility,com.ptc.core.components.factory.dataUtilities.NumberDataUtility,PartSupplierStatusDataUtility,SmartCollectionDataUtility,com.ptc.core.components.factory.dataUtilities.StringDataUtility,TraceCodeDataUtility
Interface for providing the getGWTRendererType() contract. This interface replaces the
DefaultColumnConfig.setRendererType() API.
This interface is intended to consolidate the data utilities and their associated cell renderers (if any). In GWT
applications the LogicSeparatedDataUtility defines the plain/raw values that should be returned to the client side.
To be able to handle those raw data values, a special renderer may be needed. However, not all data utilities require
special handling of their data, therefore the this interface exists to allow renderers to be specified on an
as-needed basis.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSupported API: truestatic final StringSupported API: truestatic final StringSupported API: truestatic final StringSupported API: truestatic final StringSupported API: truestatic final StringSupported API: truestatic final StringSupported API: truestatic final StringSupported API: true -
Method Summary
Modifier and TypeMethodDescriptiondefault StringRetrieves the GWT cell editor responsible for editing the data.default StringRetrieves the GWT cell renderer responsible for rendering the data returned byLogicSeparatedDataUtility.getPlainDataValue()
Supported API: truegetPlainDataValue(String component_id, Object datum, ModelContext mc) This methods retrieves the plain data from the DataUility.Methods inherited from interface com.ptc.core.components.descriptor.DataUtility
getDataValue, getLabel, getToolTip, setModelData
-
Field Details
-
JSONOBJECT_CELL_RENDERER
Supported API: true- See Also:
-
ICON_CELL_RENDERER
Supported API: true- See Also:
-
CURRENT_LIFECYCLE_CELL_RENDERER
Supported API: true- See Also:
-
ASSIGNED_OPTIONALITY_CELL_RENDERER
Supported API: true- See Also:
-
BUILDSTATUS_CELL_RENDERER
Supported API: true- See Also:
-
LONG_DATE_MINUS_TIME_RENDER
Supported API: true- See Also:
-
GRAPHICAL_ATTRIBUTE_CELL_RENDER
Supported API: true- See Also:
-
REPLACEMENT_STATUS_CELL_RENDERER
Supported API: true- See Also:
-
-
Method Details
-
getPlainDataValue
This methods retrieves the plain data from the DataUility. Any processing that occurs to the raw data still occurs, but the value is not wrapped in a GUIComponent.- Parameters:
component_id- The id to build a view object fordatum- The object to extract model data frommc- The context in which the component model data is being extracted- Returns:
- An object that can be sent to a view for rendering
- Throws:
WTException- If a problem occurs while extracting the data.
Supported API: true
-
getGWTRendererType
Retrieves the GWT cell renderer responsible for rendering the data returned byLogicSeparatedDataUtility.getPlainDataValue()
Supported API: true -
getGWTEditorType
Retrieves the GWT cell editor responsible for editing the data.
Supported API: true
-