Shape scripts have a number of issues but are still very useful.
We have started to used shapescripts to adorn vertices and arcs that have specific "properties" (expressed as Tagged Values). The shape scripts create little adornment glyphs that enable the user to see the property (and value) rendered on the shape. This has proved EXTREMELY USEFUL.
However, the downside is that EVERY stereotype that the property might appear in has to have the shape script "aspect" (HasTag() etc...) added to it and maintained. This, naturally creates a combinatorial explosion and maintenance nightmare!
If, however, shape scripts could be added to Tagged Values types, then you could define the "widget" once and EA could check the list of tagged values associated with the object and run the relevant shape scripts.
If you think the idea has merit, please give it your support.
In addition, we might discuss any implementation issue that might arise - for example, should it be unconditionally universal? That is, if I define a shapescript for a tagged value type, should it apply to
any object that has the tagged value specified, or should there be some constraining mechanism?
Reported,
Paolo
[size=0]©2012 Paolo Cantoni, Semantica[/size]