[squeak-dev] How to hide tools collection from objects catalog in
novice mode?
Luis Valente
is.valente at gmail.com
Tue Apr 14 09:47:57 UTC 2009
Thanks again, Yoshiki!
It's perfect. I had other things in the tools category and your script
workeb fine with them too.
Thank you.
Luis
2009/4/13 Yoshiki Ohshima <yoshiki at vpri.org>
> At Tue, 7 Apr 2009 23:03:20 +0100,
> Luis Valente wrote:
> >
> > Hi,
> > Is there a way to avoid novice users from using the tools collection from
> objects catalog?
> > It is possible to hide the tools collection without loosing their
> features?
> > Thanks.
>
> Not sure what version of Squeak and how much customization is done,
> but please try the following:
>
> - Instanciate a Text from Supplies.
>
> - Type (or copy and paste) the following three lines:
>
> (Flaps classPool at: #FlapsQuads) at: 'Tools' put: OrderedCollection
> new.
> ArchiveViewer class removeSelector: #descriptionForPartsBin.
> EventRecorderMorph class removeSelector: #descriptionForPartsBin.
>
> - Select all by pressing Cmd-a and then "do-it" by Cmd-d.
> - Open the object catalog and then see if "Tools" is gone.
>
> -- Yoshiki
>
>
--
All the best,
Luís Valente
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20090414/5bafb5dd/attachment.htm
More information about the Squeak-dev
mailing list
|