Book a Demo

Author Topic: Tagged value enumeration on connectors  (Read 2347 times)

Philipp P

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Tagged value enumeration on connectors
« on: August 02, 2012, 05:55:37 pm »
Hello!

I would like to add an enumeration as tagged value to a generalization in a UML profile, but I couldn't get it to work so far. I've done it like it's shown in the user guide for elements, but the tagged value does not appear in the connector.

Can anyone help me?
Thanks alot.

best regards,
Philipp

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Tagged value enumeration on connectors
« Reply #1 on: August 06, 2012, 02:34:17 pm »
Presumably you have created a stereotype that extends Generalization? First thing to do is open up your profile XML file in a text editor, search for your stereotype and make sure that it has the tagged value. That will tell you if your problem is in creating your profile or in using it.

If it's a problem creating the profile, not enough information to help you, I'm afraid. Can you describe your steps in greater detail please?

If it's a problem using the profile, you have probably applied the stereotype to an existing generalization without synchronizing tagged values. In the toolbox, click "More tools...", open the toolbox for your profile, right-click the stereotype and select "Synchronize Stereotype".
The Sparx Team
[email protected]

Philipp P

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Tagged value enumeration on connectors
« Reply #2 on: August 06, 2012, 06:01:22 pm »
The XML looks fine, the tagged value seems to be correct.

If I import the profile/MDG, the tagged value is missing. I've tried "Synchronize Stereotype" but it makes no difference.

I've solved the problem in another way now, where I apply the tagged value through an add-in. that works for me....

Thanks for your answer.