Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: skelesp on August 28, 2013, 12:31:20 am

Title: MDG creation: set  _tagGroupStates property
Post by: skelesp 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;"/>
Title: Re: MDG creation: set  _tagGroupStates property
Post by: KP 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
Title: Re: MDG creation: set  _tagGroupStates property
Post by: skelesp 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?
Title: Re: MDG creation: set  _tagGroupStates property
Post by: qwerty 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.
Title: Re: MDG creation: set  _tagGroupStates property
Post by: skelesp on August 28, 2013, 09:32:01 pm
Ok, just wanted to be sure I didn't miss any functionality in EA :)