As I looking on Tools package I stumbled on openFullProtocolForClass's and openSubProtocolForClass's comments, and they are the same. But the result isn't the same as with ..SubProtocol.. you eliminate protocols from ProtoObject and from Object. Where can we find that SubProtocol means this...?
May I change the class's comment of ..SubProtocol.. like:
" Create and schedule a browser for the entire protocol of the class minus the protocols inherited from ProtoObject and Object classes"
Le 09-08-08 à 14:05, Raymond Asselin a écrit :
As I looking on Tools package I stumbled on openFullProtocolForClass's and openSubProtocolForClass's comments, and they are the same. But the result isn't the same as with ..SubProtocol.. you eliminate protocols from ProtoObject and from Object. Where can we find that SubProtocol means this...?
May I change the class's comment of ..SubProtocol.. like:
" Create and schedule a browser for the entire protocol of the class minus the protocols inherited from ProtoObject and Object classes"
I found this comment on the instance side of ProtocolBrowser
onSubProtocolOf: aClass "Initialize with the entire protocol for the class, aClass, but excluding those inherited from Object."
This comment seems to be a fit for the class side method #openSubProtocolForClass: aClass
squeak-dev@lists.squeakfoundation.org