[Newbies] Re: Howto find all subclass responsibilities for a given
me at zulq.net
Sun Aug 17 00:58:43 UTC 2008
A method may be required explicitly:
where #requiredMethod has not been implemented.
You can see all of these by sending your class #requiredSelectors, for
MyMorph requiredSelectors asArray
"prints: #(#addWorldHaloMenuItemsTo:hand: #slotName etc..."
Or alternativlely, if you are using the OmniBrowser you can install
DynamicProtocols which will add a "-- required --" protocol dynamically
when you are browsing.
The required dynamic protocol will include all the methods returned by
#requiredSelectors. If you select one of these methods you will be shown
a simple template for implementing the method.
Felix Dorner wrote:
> I am playing around with Morphs to create a Board for the ancient Go
> game. Given that I'd like to create a completely new kind of Morph
> (i.e. a Class that extends Morph), I'd like to find out which methods
> in the Morph class are defined as subclass responsibilities. Is there
> any fast way to do such a kind of search?
More information about the Beginners