[ANN] BabySRE (Squeak Reverse Engineering) posted on SqueakMap

hjh-sqlist at lexdb.net hjh-sqlist at lexdb.net
Mon Dec 27 08:46:58 UTC 2004


Quoting Milan Zimmermann <milan.zimmermann at sympatico.ca>:

> Trygve,
> 
> There is something I am struggling with when trying to play with SRE. I tried
> 
> to follow the describtion in Appendix 1 and 2:  downloaded 
> http://heim.ifi.uio.no/~trygver/2004/babysre/BabySRE.pdf, then started with 
> fresh Basic 3.7, installed Connectors 1.9 and installed BabySRE.
> 
> Up to Appendix 2 Item 2. I am OK. However, in Appendix 2 Item 3 it I am
> unable 
> to understand (and find) the 
> 
> menu 'add link for variable' -->owner
> 
> I assume I should see an item  'add link for variable' in the menu of the 
> DemoEclipseSRE "rectangle" which I droped on the collaboration tool. I cannot
> 
> see such item in the menu ... so I wonder if I am misunderstanding or perhaps
> 
> something did not install correctly.
> 
> Sorry if I miss something obvious,
> 

As far as I understand a collaboration diagram is for one central object to
which I the other objects it works together with. 

 I start the diagram for the DemoEclipseSRE  morph by bringing up it's halo,
choosing the menu and there the entry 'debug...'.  I find two entries beginning
with 'SRE' one being the collaboration diagram. Then 'add link for variable'
works fine.


I did a collaboration diagram of the WorldMenu
http://minnow.cc.gatech.edu/squeak/1958

It basically works great. A minor issue would be to shorten the display of long
collections like the submorphs of the MenuMorph.
(anOrderedCollection (MenuItemMorph(...) , MenuItemMorph(...) ,
MenuItemMorph(...) ,....)


Regards
Hannes





More information about the Squeak-dev mailing list