[squeak-dev] How to hide tools collection from objects catalog in novice mode?

Yoshiki Ohshima yoshiki at vpri.org
Mon Apr 13 17:02:03 UTC 2009

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

More information about the Squeak-dev mailing list