Community
Participate
Working Groups
Currently, the CSS Selectors for EObject only rely on values of EAttributes and primitive Stereotype properties. When a property is an EReference typed with uml::NamedElement, we should handle it in the CSS Attribute selector. In this case, the value of the reference is the name of the NamedElement. For example, we could write: Property[type=String] { /* The type of the Property is a Classifier named "String" */ fontColor:red; } For multi-valued String properties, we could write: OpaqueExpression[language~=Java]{ /* the "language" property contains "Java" fillColor:blue; }
The CSS Engine shall also support such values for Ecore ENamedElements
Done in fdb0bab349b024e5028265e223962617e87f0cb4 Pushed to master
Backported to 0.10-maintenance