Author Topic: Multiple 'enumeration selections'  (Read 5274 times)

minna

  • EA User
  • **
  • Posts: 64
  • Karma: +1/-0
    • View Profile
Multiple 'enumeration selections'
« on: January 07, 2014, 07:14:42 pm »
As stated in Sparx Systems documents, enumeration elements can be used in Profiles to generate a drop-down list of values for a tagged value. The user can then select the appropriate value in the tagged values window. For example select Car for a drop-down list containing Car, Bike and Truck.

Is there any other element that can be used in a Profile to allow the user to make multiple selections from a drop-down list? (the user can only select one value when using enumeration)

Thanks,
Minna

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Multiple 'enumeration selections'
« Reply #1 on: January 07, 2014, 08:01:43 pm »
You might be able to use a structured tag type.

Using structured types is different from using modelled enum types (although you can achieve the select-from-a-list effect with a structured type using the Enum variety). Structured tag types are defined in Settings -- UML Types -- Tagged Value Types, and can be included in an MDG Technology.

There are two ways to achieve multiple selections with structured tag types:
  • RefGUIDList, which allows the user to select multiple model elements to populate the tag
  • CheckList, which allows the user to check an arbitrary number of predefined alternatives
CheckList sounds like the closer match in your case. Check the help file, Extending UML Models -- MDG Technology SDK -- Tagged Value Types -- Predefined Types.
My theories are always correct, just apply them to the right reality.

minna

  • EA User
  • **
  • Posts: 64
  • Karma: +1/-0
    • View Profile
Re: Multiple 'enumeration selections'
« Reply #2 on: January 07, 2014, 09:32:16 pm »
Thank you, this is very helpful.

minna

  • EA User
  • **
  • Posts: 64
  • Karma: +1/-0
    • View Profile
Re: Multiple 'enumeration selections'
« Reply #3 on: January 16, 2014, 07:48:14 pm »
I see that if all the values of a CheckList are selected, it displays the word 'Complete' in the Tagged Values window. If one or more value are not selected, the word 'Incomplete' are displayed.

Is there any way to change these displayed words (Complete / Incomplete) to something relevant to my project?

Thanks,
Minna

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Multiple 'enumeration selections'
« Reply #4 on: January 16, 2014, 10:17:43 pm »
No. There is no way. A feature request might help (or you buy Sparx and order the developers to  do it ;-)).

q.

minna

  • EA User
  • **
  • Posts: 64
  • Karma: +1/-0
    • View Profile
Re: Multiple 'enumeration selections'
« Reply #5 on: January 16, 2014, 10:37:29 pm »
Lol, thanks. That is my long term plan, to buy Sparx Systems, and then to rule the world  ;)