2 Update the ECA RuleLabelProvider to support the decoration:
If ECA condition is the headless condition and it only contains action (include true/false actions) which modifies the “isMandatory” value of an input widget, the tooling displays a decoration icon in the ECA rule Label but not in the rest of ECA rules. The <mandatories> ID is same with the ECA rule ID.
Note The headless icon dynamically updates if the ECA value changes.
3 See the following generate relationship:
An xml file that contains the ECA rules will be generated in definitions/operations/. Keep the feature on and then the server side will use the ECA rules in this file to update the isMandatory properties.