Trait 1.1 and Basic 3.7 gamma2

Adrian Lienhard alienhard at netstyle.ch
Mon Aug 30 20:03:39 UTC 2004


Hi PhiHo,

>     What's the differences between ImageBrowser and
>     TraitsBrowser ?

The TraitsBrowser is the ImageBrowser enhanced with some features to 
work with traits. With the TraitsBrowser for example you can browse a 
trait composition: The browser automatically adds new panes to the 
right (similar to the finder of OS X). Or there are some more menu 
items and drag-n-drop support implemented in the TraitsBrowser.

>
>     FileBrowser encountered an error :
>
>         Error: Fully qualified path expected
>
>     (Please see attached log)

Probably there is (or was) a bug in the file browser for windows. It 
works on my mac. Maybe this is fixed in the newer version of 
OmniBrowser. The version that currently comes with the Traits package 
is rather old now (version 184), so this might have been fixed in the 
meantime.

>
>     BTW, does Traits need Morphic and 3.7 ?

It definitely needs a 3.7 image because we use the kernel cleanups from 
KCP that were introduced recently.

>     Can I load Traits into a shrinked (MVC) image ?

Hm, this depends on the image (what is left?). One thing that might be 
a problem is that traits are stored in Monticello (on SqueakSource). So 
you have to have Monticello to be able to load it (programmatically I 
assume, since there is no user interface in MVC). A workaround could be 
to produce a changeset in advance. So, I guess it would need some work 
but should not be a big problem. I never tried because I don't use MVC. 
Do you need this for some reason?
>
>     Do you have a tutorial for using Traits in Squeak ?

No, unfortunately not. But the papers at 
http://www.iam.unibe.ch/~scg/Research/Traits/index.html might be useful 
to get started. If you have further questions just ask!
>
Cheers,
Adrian
___________________
Adrian Lienhard
www.adrian-lienhard.ch
www.netstyle.ch




More information about the Squeak-dev mailing list