Ok sorry q
I thought I was explaining myself properly, but apparently not.
I will walk through it step by step.
* First I create a stereotype that has the Name "SomeConnector" and an Alias "MyConnector".
* I extend this stereotype from an "Association" meta class.
If I now build my MDG, when I draw an instance of connector the text that shows on the page along with the line is the name of the stereotype i.e. "SomeConnector".
But, what I want to have show is the Alias of the stereotype i.e. "MyConnector".
So I created a script that draws the line and then added the following lines of script which I hoped would achieve what I want:
shape MiddleBottomLabel {
println("<<#alias#>>");
}
However, rather than displaying the alias of the stereotype I created in my MDG, it displays the alias of the individual instance of the connector I have just drawn, which is of course blank.
Hope that it clearer.
Cheers
Jays
