Notes

1The EA version used to create this book was actually 10.0 (build 1009). However, most of the references are also valid for earlier versions of EA. And of course all this still works with version 13.5 when the latest edit was made on this book. Though I have not cross checked which bugs were fixed until 13.5. Honestly, V14 itself was so buggy I never used it. I might cross check with V15.2 but I’m not to keen installing newer EA versions.

2I really loathe writing such legal blurb since it should be obvious. By the way: German Law applies! (Does that change anything?)

3This name will appear on top of the existing list of stereotypes so you can edit your test cases faster than with one named test. I use ae as prefix for element stereotypes and ac for connector shapes in this book. You are asked to use meaningful names for you stereotypes instead.

4For a real case you should limit it it the base element where you want to appear the stereotype.

5Once a script is assigned the button will appear as Edit and the Preview below will contain what it says.

6The Next Shape button will only be relevant if there are more than one shapes defined in a script. The preview will simply loop through the shapes and display one after the other.

7I highlighted the top left and bottom right coordinates in the screen shot.

8Not so say “the most advanced feature in Shape Script”.

9I have no idea whether it is planned to extend the Shape Script language. Here it looks like there should be a possibility to work with objects in the future. The current implementation does not look very meaningful else.

10Actually you can place it also outside the 100² units by using coordinates above 100 or below 0.

11This is one of the moments where I think that language designers which are responsible for that should be clubbed to death with a teaspoon. Preferably using one made of plastic so it takes longer.

12The script already uses control structures being explained later in this book. But hopefully it’s already understandably here.

13Feel free to report a bug.

14Since I use Perl, I only can see the repository and the GUID parameter so I have to use unique functions. This is perfect anyhow as these add-in methods should be used in rare cases only.

15Actually you can arbitrarily replace “shape” with “label” and “text”. You may do so to confuse others.