Book a Demo

Author Topic: Shapescript decorations  (Read 7695 times)

rupertkiwi

  • EA User
  • **
  • Posts: 133
  • Karma: +5/-0
    • View Profile
Re: Shapescript decorations
« Reply #15 on: September 20, 2019, 10:16:38 am »
Yes ! That works great, many thanks for your help

rupertkiwi

  • EA User
  • **
  • Posts: 133
  • Karma: +5/-0
    • View Profile
Re: Shapescript decorations
« Reply #16 on: September 20, 2019, 10:19:04 am »
Also, what is the best practice for using shapescripts?

Should they be applied to a stereotype at a model or profile level?

What if you want the tagged values for the element represented differently in different diagrams?

Rupert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8617
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Shapescript decorations
« Reply #17 on: September 20, 2019, 10:39:51 am »
Also, what is the best practice for using shapescripts?

Should they be applied to a stereotype at a model or profile level?

What if you want the tagged values for the element represented differently in different diagrams?

Rupert
We do it at the profile level.

If you want the shapescript to react to different digrams, you need to have a method for identifying the trigger.

We use a mixture of diagram.stereotype, diagram.mdgtype and diagram.name (as required).

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13471
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller