Community
Participate
Working Groups
Steps to reproduce: 1. create an enumeration 2. create two enumeration literals inside this enumeration: toto and titi 3. create a class 4. create a property inside this class and type it by the enumeration 5. go to the properties view and try to set the the default value of the property by toto The enumeration literals toto and titi are not proposed in the list of possible default values
This has been fixed with the new property view framework (0.8.0 or 0.8.1, I'm not sure). However, because of Bug 294758, this might not be really intuitive (The property's type is never taken into account) : Steps: 5. create a new "InstanceValue" for the default value 6. type it with your property type (The Enumeration) 7. choose your literal for the "Instance" attribute (Typing the InstanceValue is not necessary, but it filters the values available in the "Instance" property)