Book a Demo

Author Topic: Specify real enum drop-down for tagged value type?  (Read 3308 times)

dana n

  • EA User
  • **
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Specify real enum drop-down for tagged value type?
« on: December 12, 2009, 01:28:40 am »
I discovered, to my delight, how to create a drop-down for a tagged value type using "Predefine Tagged Value Types." But the 'enum' values are a typed-in list of comma separated values in the Details box, e.g:

Type=Enum;
Values=Val1,Val2,Val3;
Default=Val2;

If I already have an enum defined elsewhere, can I reference that instead of entering a CSV list in the details box?
« Last Edit: December 12, 2009, 01:29:17 am by dananrg »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Specify real enum drop-down for tagged value t
« Reply #1 on: December 12, 2009, 01:48:46 am »
I don't think so.
You could reference the the actual "attributes" of the enumeration in your tagged value, but I don't think you can limit the values to only the attributes of a certain enum.

Geert

dana n

  • EA User
  • **
  • Posts: 54
  • Karma: +0/-0
    • View Profile
Re: Specify real enum drop-down for tagged value t
« Reply #2 on: December 12, 2009, 02:08:49 am »
Thanks Geert.