Book a Demo

Author Topic: Customising Tagged Values  (Read 3842 times)

PLock

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Customising Tagged Values
« on: April 26, 2007, 05:57:53 am »
I was wondering if there is a way to customise a tagged value type to just allow 'class attributes' to be selected as the value.

Looking on the help there is a way of defining a tagged value as a classifier or RefGUID type, however these only use elements such as classes, Actors and UseCases when the dialog pops up to select an element. (i did not filter the 'Value's or 'Stereotype's when defining these tagged value types)

What i would like is to be able select an element from the model other than a class to reference with the classifier tagged value type.

Little bit of reasoning behind this request ...
In code generation (SparkAda) parameters of operations may not be formal parameters but actually a global variable(attribute) in another class. These parameters are marked with a stereotype so that this is known however it is necessary to define in the tagged value for the parameter what attribute it is. Currently I cannot find a way to do this.

Any help will be appreciated, especially if EA supports this already and I just cant find how to do it.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Customising Tagged Values
« Reply #1 on: April 30, 2007, 02:22:49 pm »
The RefGUID tagged value type will be able to specify an attribute or operation from EA 7.0.

PLock

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Customising Tagged Values
« Reply #2 on: May 01, 2007, 02:05:37 am »
Thanks Simon,

That sounds very handy for what i need, but considering the RefGuid and the Classifier tagged value types both seem to select/browse for items using the same dialog, does this mean the more suited Classifier could be used in this way as well?

If so roll on beta testing and get it out there :)