Author Topic: display of tagged values in diagrams  (Read 6074 times)

cuninghamd

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
display of tagged values in diagrams
« on: September 18, 2007, 03:30:03 am »
I'm trying to display tagged values in a diagram where I have defined the shape using a shape script (for a stereotype) & can't find out how to access the tagged values in order to display them. ( and allow editing of the tagged values within the diagram).

Hope you can help.

Thanks,
Dave.

B3ip

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: display of tagged values in diagrams
« Reply #1 on: September 18, 2007, 04:40:18 pm »
see Help: print("#TAG:condition#");

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Best Regards, Roy

cuninghamd

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: display of tagged values in diagrams
« Reply #3 on: September 19, 2007, 12:09:03 am »
 :D  Thanks B3ip for the syntax - could not find it in the help file (anywhere) - the link that was sent by RoyC returned a blank page. - now just need to make the tag editable in the model view - or is that just impossible ?

Dave.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: display of tagged values in diagrams
« Reply #4 on: September 19, 2007, 02:57:37 am »
Dave,

Try the link again. I've been able to get the page to display.

Otherwise, in the Help index (for build 816) find Shape Scrips. Under that you will find Displaying Element Properties. That's the page Roy is referencing.

David
No, you can't have it!

cuninghamd

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: display of tagged values in diagrams
« Reply #5 on: September 19, 2007, 03:32:13 am »
David,
  I've just tried the link again - it works this time. Thanks. The help file i've got (for EA 7.0 build 815) does not have that very helpful text:

"In addition to the properties listed below, Tagged Values can also be displayed by prefixing the Tagged Value name with TAG:.

For example: print("#TAG:condition#");"

which is in the on line version.

Thanks for the info.

Any help on my question re making the tag editable in the model view ? - Seems not possible as the help only states that the following fields can be designated editable:

"alias", "name", "note", "stereotype"


Dave.


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: display of tagged values in diagrams
« Reply #6 on: September 19, 2007, 01:12:26 pm »
You can't edit tagged values directly on non-shape scripted elements, and I don't think there is a way to do it on shape scripted elements.

cuninghamd

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: display of tagged values in diagrams
« Reply #7 on: September 19, 2007, 01:22:19 pm »
 :D Simon,
  thanks for the confirmation  :( Pity you can't - it would be a useful feature ( rather than having to have a seperate view open).

Thanks again.

Dave.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: display of tagged values in diagrams
« Reply #8 on: September 20, 2007, 05:39:51 am »
Dave,

In the meantime, remember that you can download the most recent help file, even if you don't want to upgrade to the current EA build. It is on the download page in compiled HTML and zipped formats.

David
No, you can't have it!