The dsiConstraintsApplyStyle
enumeration is not used anymore because we are limiting the constraint apply style options to only Top Down. As a result, all relevant interfaces in OFDAHeaderData
will be deprecated and the ConstraintsApplyStyle
tag will not be used.
Removed the entire Constraints Toolbox for the following reasons:
Top Down
and All
is now deprecated.Removed: public DcDBBuilderShrinkWindow toolboxWindow; Removed: public Display appleStyleDisplay; Removed: public DsRadioButton applyStyleAllRadioButton; Removed: public DsRadioButton applyStyleTopDownRadioButton; Removed: public StateControlGroup applyStyleControlGroup; Removed: public Display constraintTypeDisplay; Removed: public DsRadioButton validConstraintTypeRadioButton; Removed: public DsRadioButton invalidConstraintTypeRadioButton; Removed: public StateControlGroup constraintTypeControlGroup;
New argument to determine the constraint's expression type.
Old: extend public bool validExpression(str exp, StrBuf error) New: extend public bool validExpression(dsiConstraintExpressionType constraintExpType, str exp, StrBuf error)
Column label does not need to be updated dynamically anymore.
Removed: public str labelText()
dcConstraintsUndoOp.cm
is removed as dsiConstraintsApplyStyle
and dsiConstraintType
enumerations are not used anymore.
Removed: public class DcConstraintTypeUndoOp extends DcUndoOp
The following method signatures are changed to accommodate the addition of the constraint expression type.
// DsiExprValidationEnv (dsiExprValidationEnv.cm) Old: public constructor(VxRuntime rt, str expr, DataCatalog cat) New: public constructor(VxRuntime rt, dsiConstraintExpressionType exprType, str expr, DataCatalog cat) Old: extend public void doesNothign(VxExpr e, StrBuf error) New: extend public void doesNothing(VxExpr e, StrBuf error) // dsiVariants.cm Old: public VConstraint dsiCreateConstraint(DataCatalog catalog, str expression) New: public VConstraint dsiCreateConstraint(dsiConstraintExpressionType expressionType, str expression) Old: public bool dsiValidateConstraintExpr(DataCatalog cat, str exp, StrBuf error=null) New: public bool dsiValidateConstraintExpr(DataCatalog cat, dsiConstraintExpressionType exprType, str expr, StrBuf error=null) Old: public str->SFeature dsiVariantsFeatures(DsiPData data, str featureCode) New: public str->SFeature dsiVariantsFeatures(DsiPData data, str featurePath) Old: public str->Object dsiVariantsTableSelectedValues(DsiPData data, str featCode) New: public str->Object dsiVariantsTableSelectedValues(DsiPData data, str featurePath) Removed: public void dsiClearVariantsTableCache()
All interfaces of constraintsApplyStyle
and constraintType
in OFDAHeaderData
are now deprecated.
// OFDAHeaderData Deprecated: private dsiConstraintsApplyStyle _constraintsApplyStyle : deprecated; Deprecated: extend public dsiConstraintsApplyStyle constraintsApplyStyle() : deprecated Deprecated: extend public dsiConstraintsApplyStyle constraintsApplyStyle=(dsiConstraintsApplyStyle constraintsApplyStyle) : deprecated Deprecated: extend public dsiConstraintType constraintType() : deprecated Deprecated: extend public dsiConstraintType constraintType=(dsiConstraintType constraintType) : deprecated
Certain tags stored in XML will be removed/added in ofdaImport()
and ofdaExport()
. db3 import and export behaviours will also be affected similarly. Hence, forward compatibility would not be supported i.e., importing a newer XML/db3 file into an older version of CET may not have the correct apply style applied to the catalog.
The following classes are affected:
Tags removed:
ConstraintsApplyStyle
ConstraintType
Tags added:
ConstraintExpressionType