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

Milan Zimmermann milan.zimmermann at sympatico.ca
Tue Dec 28 23:54:46 UTC 2004


Trygve,

On December 28, 2004 05:15 am, Trygve Reenskaug wrote:
> Milan,
> Thanks for your contribution, it will find its way into the pdf document.
>
> I am not sure where I found the comment quoted below, but one can always
> change the name displayed in a aymbol to suit the purpose of a
> collaboration diagram:

I think you are referring to the quote on the bottom... That is from Hannes 
Hirzel from another thread, he used SRE and created a Collaboration Diagram 
for WorldMenu linked on Swiki. 
http://minnow.cc.gatech.edu/squeak/1958
I guess you are suggesting that the long name can be simply changed by 
renaming it (as below), that makes sense.

>
> Try selecting the offending square/object symbol, right click to open its
> menu, select 'rename role...' and type whatever you want to appear in the
> diagram as the name of the symbol. This is quite safe because it only
> changes the displayed name, not the referenced object.

- 'role' makes sense to me in this context. I missed the obvious use of 
'rename role'. In case you plan to use them, I am attaching the modified 
screenshots of the two temporary steps so the numbers used in the roles match 
with your PDF. One minor note, the 'rename' takes off the "bold attribute" on 
the name.

>
> I use the term 'role' for the SRE model of an object. The reason for this
> choice is that the current diagram is a forerunner of a future, more
> abstract collaboration diagram. I used the term in my original OOram role
> modeling and it is getting more prominent in its decendent, the UML
> Collaboration.

 i saw PDF of your 'Working with Objects' book, but just browsed randomly in 
so far.

>
> One can use the SRE collaboration to show the objects involved in realizing
> a certain service or function. Each object will play a certain *role* in
> the overall system. Rebecca Wirfs-Brock would say that it has a certain
> *responsibility*.

Thanks for your notes,

Milan

>
> Cheers
> --Trygve
>
> > > 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(...) ,....)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: popup-menu.png
Type: image/png
Size: 7355 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20041228/fab37029/popup-menu.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: after-adding-world-link.png
Type: image/png
Size: 1513 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20041228/fab37029/after-adding-world-link.png


More information about the Squeak-dev mailing list