Book a Demo

Author Topic: Problem with tagged values form profiles  (Read 4161 times)

FelixJ

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Problem with tagged values form profiles
« on: November 09, 2011, 10:51:22 pm »
Hello everyone,

I have a problem by creating a profile, which drives me crazy. I could not find any information on the internet. I hope you can help me.

I'm new to EA. Before I was working with other UML modelling tools. So my problem might caused by my lacking knowledge of EA.

I need to create a profile. This profile has the aim to support the modelling of sequence diagrams in respect of Bluetooth communication. Therefore I created a stereotype called 'Bluetooth' and made an association with the stereotype 'extends' to the metaclass 'Message' and 'Operation'. The 'Bluetooth' stereotype is also applied with some 'Attributes' like 'isEnrypted'. I exported this profile and imported it to my existing EA project. Here I applied the sequence calls with the new stereotype 'Bluetooth'. But in the tagged value window I do not see any tagged values to choose from. In the stereotype window I can see that the 'Bluetooth' stereotype was applied to 'sequence' or sometimes 'object'.

But if I drag and drop the stereotype from my 'Resource Browser' to my sequence diagram I have my wanted configuration. Now I have my tagged values and the right stereotype applied. If I compare a message with the manually applied stereotype and a message from the previous mentioned method 'drag n drop' I don't see any difference. I just don't have the tagged values.

I'm working with the version 7.1. I also installed the trial version of 9.1 and I get the exactly same behavior. What am I doing wrong? How can I achieve my desired behavior?

Thank you very much in advance.

Best regards,
Felix

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Problem with tagged values form profiles
« Reply #1 on: November 10, 2011, 09:40:08 am »
As I understand it tag values are added upon creation on the element. If you create an element then change its stereo type you won't get the tagged values. To get the tagged values added to the changed stereotype elements right click on the stereotype in the resource window and select synchronize tagged values and constraints. If you've create a toolbox you can do the same thing with the element in the tool box by selecting synchronize stereotype.
I'm using EA V8.0 so the menu's may be slightly different in V7.1 - not sure.
Hope that helps  :)
Happy to help
:)

FelixJ

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Problem with tagged values form profiles
« Reply #2 on: November 10, 2011, 07:13:35 pm »
Thank you Sunshine!

That was exactly my mistake. Still don't think it is perfectly solved, but it works for me now.

gfranz

  • EA User
  • **
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Re: Problem with tagged values form profiles
« Reply #3 on: November 29, 2011, 05:12:20 pm »
Hello,

maybe it's this: when switching the type manually in the property window, the new tagged value will not appear untill you choose "Synchronize stereotype" in the toolbox for your type. You don't need to do this when you drag and drop your element with the toolbox or in the resource view.

Regards,
Guido Franz

********
Remark: Sorry, found this post with the search function and did not see that there are already solutions :-)
« Last Edit: November 29, 2011, 05:14:32 pm by gfranz »

FelixJ

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Problem with tagged values form profiles
« Reply #4 on: November 30, 2011, 01:49:23 am »
Hello Guido,

thanks a lot for your answer. And it is exactly what I was talking about. In general it is better to get two answers instead of none ;)

Best regards