|
|
Constraint Specifications |
Constraint Specifications are written in the Parametric Constraint Expression Language (PCEL), a constraint expression language used by the IBM Rhapsody Parametric Constraint Evaluator (PCE). The Constraint Editor automatically applies syntax-highlighting based on that language:

· Functions - for example sqrt, min, long
· Keywords - for example if, true, pi
· Numbers
· Operators - for example <, >, >=
· Parameters (constraint parameters from the constraint block/property)
These all have default colors which may be changed using the following properties, along with the default color which is used when no highlight is applied, and the font size in the editor:
RhapsodyPowerPack.ConstraintEditor.DefaultColor
RhapsodyPowerPack.ConstraintEditor.FunctionColor
RhapsodyPowerPack.ConstraintEditor.KeywordColor
RhapsodyPowerPack.ConstraintEditor.NumberColor
RhapsodyPowerPack.ConstraintEditor.OperatorColor
RhapsodyPowerPack.ConstraintEditor.ParameterColor
RhapsodyPowerPack.ConstraintEditor.FontSize
