Hi Felix,
A method may be required explicitly:
requiredMethod self subclassResponsibility
or implicity:
method self requiredMethod
where #requiredMethod has not been implemented.
You can see all of these by sending your class #requiredSelectors, for example:
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.
Regards, Zulq.
Felix Dorner wrote:
Hi,
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?
Thanks, Felix