Book a Demo

Author Topic: MDG-Technology - TaggedValue - New Stereotype  (Read 6658 times)

carolin.boeckler

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
MDG-Technology - TaggedValue - New Stereotype
« on: February 15, 2014, 12:59:53 am »
Hi,

I create my own MDG technology.
I created a new stereotype in my profile, e.g. "Einheit" based on metatype "object". I created a second stereotype "Groesse" based on "DataType". Now I want to have in "Groesse" a tagged value with the name "Einheit". Up to now it was no problem, but now I have the problem, that I have no selection icon in the tagged values with the symbol "..." where I can select my new type Einheit and also not the window where I habe the button "add new" with type and stereotype.
Does anybody has an idea?


I don't know how to insert an image here. I hope somebody knows the window Tagged Values... , where on left bottom side is the button "Add New".

Caro

Sorno

  • EA User
  • **
  • Posts: 71
  • Karma: +0/-0
    • View Profile
Re: MDG-Technology - TaggedValue - New Stereotype
« Reply #1 on: February 15, 2014, 01:18:11 am »
In your profile, have you created a association (stereotyped: TaggedValue) from "Groesse" to "Einheit"?

Make sure you do not name the association, but only name the target-end to "Einheit".

/Jonas
« Last Edit: February 15, 2014, 01:18:24 am by Sorno »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: MDG-Technology - TaggedValue - New Stereotype
« Reply #2 on: February 15, 2014, 02:37:14 am »
Quote
I don't know how to insert an image here. I hope somebody knows the window Tagged Values... , where on left bottom side is the button "Add New".
Place the picture in a public space (e.g. your Dropbox or imageshack.com) and use the 3rd button for the URL.

q.

carolin.boeckler

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: MDG-Technology - TaggedValue - New Stereotype
« Reply #3 on: February 19, 2014, 07:29:12 pm »
I do not have an association.
I created a stereotype called "Groesse". It should have a tagged value with the name "Einheit". But it should be possible to have a select button like a have if I have the "ValueType" Element of the SysML 1.3 with its TaggedValue "Unit" and "Quanitity Kind".
See images:
[Own Element "Groesse" and "Einheit"][http://imageshack.com/a/img46/9038/bui1.png]
[SysML1.3::ValueType with TaggedValue "quantityKind" , select ... on right side][http://imageshack.com/a/img819/6475/r8gf.png]
[Selection window with Types "Object" and Stereotype SysML::quantityKind][http://imageshack.com/a/img811/4866/9hte.png]
I hope it works with the images.

Caro
« Last Edit: February 19, 2014, 07:31:16 pm by carolin.boeckler »

Sorno

  • EA User
  • **
  • Posts: 71
  • Karma: +0/-0
    • View Profile
Re: MDG-Technology - TaggedValue - New Stereotype
« Reply #4 on: February 19, 2014, 07:54:06 pm »
To add taggedvalues to stereotypes created in profiles/MDG:

In the toolbox for Profiles there is a Relationship called Tagged value - (it's an association with taggedvalue as stereotype). Use that to connect Groesse to Enheit. Name the targetEnd "Enheit".

If it works you will see the TV Enheit when you create a new instance of your steroetype Groesse, and you will be able to click the selectbutton to select a enheit-element. Note that the taggedvalue from the profile will not be grouped in the "TaggedValue" page in the element, but is goruped on a page that have the same name as your profile.

Note: Do not name the relationship as such, only the targetEnd. There is a bug in EA which can mess things up if the relationship is named.

Good luck,
Jonas
« Last Edit: February 19, 2014, 07:58:08 pm by Sorno »

carolin.boeckler

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: MDG-Technology - TaggedValue - New Stereotype
« Reply #5 on: February 19, 2014, 08:47:14 pm »
Thank you

It works.
Can I find this also in some manual?