|
Re: defaultValueLiteral for EEnum attribute with multi-selection [message #1706525 is a reply to message #1706476] |
Thu, 27 August 2015 13:39 |
Ed Merks Messages: 33147 Registered: July 2009 |
Senior Member |
|
|
Niklas,
No, there's no support for multi-valued defaults. It's likely not the
best way to model things. E.g., is order significant? Can there be
duplicates? Likely it's more of a bitset sort of thing, i.e., a bunch
of booleans...
On 27/08/2015 3:07 PM, Niklas Deutschmann wrote:
> Is there any way to set the defaultValueLiteral for an enumeration
> attribute that permits multi-selection (upperBound=-1) so that a
> selection of multiple options is the default value?
>
> I would really to have this in the Ecore model without any additional
> initialization code only for this case.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02857 seconds