Hi Paolo,
I'm a little confused, you seem to ask if there's a shape script solution which doesn't require a shape script?
Does not compute.
Anyway, I tested a simple shape script that only calls DrawNativeShape() or DrawParentShape(). Both result in the link symbol being drawn.
I also tested adding an empty "SE" decoration -- didn't work.
The only way I can see would be to write a shape script that does everything the native shape does, except draw the link symbol. But as I'm sure you're well aware, that means you can't include attributes or operations in your shape.
So I think it's the crappy solution, although I don't see a need for a triggering mechanism.
Something like
shape main {
DrawNativeShape();
}
decoration Nope {
orientation = "SE";
if (HasProperty("isdrawcompositelinkicon", "true")) {
SetFillColor(0, 0, 0);
Rectangle(-75, 0, 75, 50);
}
}
should do it, no?
/Uffe