Traits in 6724

Alexandre Bergel Alexandre.Bergel at cs.tcd.ie
Fri Feb 17 17:12:58 UTC 2006


Hi!

Is there some hided menu in the code browser ? How can I add and  
define new traits ?

I dusted off what I did some time ago. The changeset I attached to  
this email offers a minimal support for traits in current browser,  
while waiting for the OB-based trait browser...

Here are the things:
	- You have a popup when you try to remove a trait that has users  
(cf. menu.tiff). It might be interesting to add a new entry 'Flatten  
and remove'.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: menu.tiff
Type: image/tiff
Size: 18454 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060217/263115c9/menu.tiff
-------------- next part --------------



	- If you select a trait, you have access to an entry 'Browse users'.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: browser.tiff
Type: image/tiff
Size: 15202 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060217/263115c9/browser.tiff
-------------- next part --------------

	- If you select a trait, you have a new entry -- required -- in the  
message category list. If you clik on it, you see the list of  
required selectors.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: required.tiff
Type: image/tiff
Size: 8916 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060217/263115c9/required.tiff
-------------- next part --------------

I am not sure it makes sense to include it in a new release of  
squeak, but I had to use this changeset if I want to use traits...

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.cs.tcd.ie/Alexandre.Bergel
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: TraitAwareBrowserFor6724.1.cs
Type: application/octet-stream
Size: 9578 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060217/263115c9/TraitAwareBrowserFor6724.1.obj
-------------- next part --------------



More information about the Squeak-dev mailing list