[newbie][q] authoringPrototype X newStandAlone
Ned Konz
ned at bike-nomad.com
Mon Jul 1 20:18:16 UTC 2002
On Monday 01 July 2002 12:02 pm, Leo Burd wrote:
> I'm having a hard time trying to understand the difference between
> authoringPrototype and newStandAlone. Do I need both of them in my
> code? Would anybody help me out?
If you want to work with the Objects tool, you need
descriptionForPartsBin and newStandAlone, and/or
supplementaryPartsDescriptions. See the class comment on ObjectsTool.
initializeForStandAlone is also used for the "sample instance" menu
choice from browsers if you have a descriptionForPartsBin.
I think you can skip authoringPrototype; it appears to just be used
for building some of the standard flaps. The default implementation
in Morph is to do a "new", but I don't think you'll find it called on
your own code.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|