Book a Demo

Author Topic: MDG creation: set  _tagGroupStates property  (Read 4316 times)

skelesp

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
MDG creation: set  _tagGroupStates property
« on: August 28, 2013, 12:31:20 am »
Hi

I'm creating an MTS file to create an MDG technology. I created a stereotype with some tagGroups and tagged values in it. But now I want to be able to create a property which decides if the group would be open or closed on opening the tagged values screen...

In the XML it looks like this, but I can't find it in the UI of EA's MDG creation...

Code: [Select]
<Property name="_tagGroupStates" value="Description=open;Base Element=closed;Activity=open;Task=open;AdHoc=closed;Loop=closed;Sub-Process=closed;Callable Element=closed;Execution=closed;Other=closed;"/>

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: MDG creation: set  _tagGroupStates property
« Reply #1 on: August 28, 2013, 09:03:18 am »
In your profile, you want to create an attribute in the «metaclass» element that your «stereotype» element extends. Name the attribute _tagGroupStates and give it an initial value. Re-save your profile, re-build your technology.

Help: http://www.sparxsystems.com/enterprise_architect_user_guide/10/extending_uml_models/define_tag_groupings.html
The Sparx Team
[email protected]

skelesp

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: MDG creation: set  _tagGroupStates property
« Reply #2 on: August 28, 2013, 08:46:15 pm »
Ok, but I wanted to know if it is possible to manage this with the profile helper.

In the tagged value tab I can create groups and add tags to those groups. So the attributes _tagGroups and _tagGroupings are created automatically.
But it isn't possible to set whether the groups should be open or closed. So I have to manually add the _tagGroupStates attribute?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: MDG creation: set  _tagGroupStates property
« Reply #3 on: August 28, 2013, 09:02:17 pm »
That's what I read from KP's answer. The helper doesn't do it all ;-)

q.
« Last Edit: August 28, 2013, 09:02:56 pm by qwerty »

skelesp

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: MDG creation: set  _tagGroupStates property
« Reply #4 on: August 28, 2013, 09:32:01 pm »
Ok, just wanted to be sure I didn't miss any functionality in EA :)