Author Topic: [Own UML profile] Add tags based on value of other tag?  (Read 4578 times)

Boron

  • EA User
  • **
  • Posts: 111
  • Karma: +6/-0
    • View Profile
[Own UML profile] Add tags based on value of other tag?
« on: July 10, 2017, 06:21:13 pm »
Hello,
is it anyhow possible let EA create/remove tags based on the value of another tag?

Example:
I created an stereotype <<Signal>> (based on metaclass Interface).
A <<Signal>> will always have the tag "Conversion", which is an enum with "Analog" and "Linear" as selectable values.
I would no like to do EA the following magic:
 - If I select "Linear" two additional tags shall be added.
 - If I select "Analog": the two new tags should disappear, if existing.

Any idea how this can be realized?
Maybe UML profiles and stereotypes are the wrong way to do this. I appreciate any other idea.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: [Own UML profile] Add tags based on value of other tag?
« Reply #1 on: July 10, 2017, 06:59:16 pm »
The simple answer to your question is: no, can't be done.

You might eventually use groups which can be collapsed (and hide a number of TVs).

q.

Boron

  • EA User
  • **
  • Posts: 111
  • Karma: +6/-0
    • View Profile
Re: [Own UML profile] Add tags based on value of other tag?
« Reply #2 on: July 12, 2017, 07:25:25 pm »
Many thanks :).
Tag grouping is OK for me. Not needed tags can simply be left empty.

Reference for interested people:
http://sparxsystems.com/enterprise_architect_user_guide/12.1/building_models/define_tag_groupings.html