Book a Demo

Author Topic: Profile Tags problem  (Read 5608 times)

thomas.kilian

  • Guest
Profile Tags problem
« on: March 28, 2008, 08:38:56 pm »
Hi,
I'm currently fiddling around with Profiles. I have created a stereotyped package that shall receive a number of Tags upon creation. It works - sort of: all Tags are prefixed with stereo::stereo:: (where stereo is the stereotype of the package). Where does that prefix come from? How can I turn it off? I'm pretty sure I've seen it working correctly before.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Profile Tags problem
« Reply #1 on: March 28, 2008, 09:47:44 pm »
Do you have a namespace root crawling around in there someplace?
No, you can't have it!

thomas.kilian

  • Guest
Re: Profile Tags problem
« Reply #2 on: March 28, 2008, 11:44:30 pm »
No. It's clean in that respect.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Profile Tags problem
« Reply #3 on: March 29, 2008, 02:10:55 am »
Hey there,


Which display are you talking about? The one in the package symbol in the diagram, or the one in the Tagged Values window? Which version EA are you using? And how have you defined your tags, as attributes in the package, or as <<taggedValue>> connectors?

I'm on 7.1.827 on XP SP2. In the Tagged Values window you can select whether to display fully qualified tags. However, the corresponding selection in the Feature Visibility dialog seems to have no effect. It also seems to work only for tags defined by <<taggedValue>> connectors. This is the only way I've been able to get it to displayed fully qualified tag names.

The other issue, which I mentioned in http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1205330825/0#0, is that the name of the stereotype is displayed in the Tagged Values window if you set the tag name using Target Role rather than Link Name.

Hope this helps,


/Uffe
My theories are always correct, just apply them to the right reality.

thomas.kilian

  • Guest
Re: Profile Tags problem
« Reply #4 on: March 29, 2008, 05:10:59 am »
I'm talking of the Tag name (left column in the Tags pane). I think it's simply a bug. There is no reason to put such a prefix in front. Today I downloaded the latest release. Will first try how this works...

thomas.kilian

  • Guest
Re: Profile Tags problem
« Reply #5 on: March 31, 2008, 07:46:20 pm »
Now I tried with the latest build - and an old profile. I always get the tags prefixed with the profile name and (if present) the generalized stereotype. I'll report a bug.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Profile Tags problem
« Reply #6 on: April 01, 2008, 08:31:35 am »
From memory, version 7.1 added support for having tagged values qualified by profile.  This is important for if you have multiple stereotypes applied to an element that both specify a tagged value with the same name.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Profile Tags problem
« Reply #7 on: April 01, 2008, 08:35:42 am »
In the Tagged Values window, click the Options button and switch off Show Fully Qualified Tags.
« Last Edit: April 01, 2008, 08:36:06 am by KP »
The Sparx Team
[email protected]

thomas.kilian

  • Guest
Re: Profile Tags problem
« Reply #8 on: April 01, 2008, 05:53:19 pm »
Now that you mention it I remember that I clicked around with this new icon and nothing happened (as there was no tag visible at the moment - and anyway if I remember the release notes is does only work for new tags) and I obviously turned it on. Thanks, Neil.