Changing superclass of a class

Diego Gomez Deck DiegoGomezDeck at ConsultAr.com
Thu Jul 18 11:31:47 UTC 2002


Hi Alexandre,

>Hello,
>
>Anyone has any clues for changing a superclass of a class ? I have try to dive into Browser & Compiler code source, but it seems too deep for me :-(

In the browser, where you can see the class definition, just change the super class and accept it, example:

Object subclass: #Collection
	instanceVariableNames: ''
	classVariableNames: 'RandomForPicking '
	poolDictionaries: ''
	category: 'Collections-Abstract'

Change 'Object' to other class and accept-it.

>Regards,
>Alexandre

Cheers,

Diego Gomez Deck




More information about the Squeak-dev mailing list