Weird subclassResponsibility in CwWidget

19 views
Skip to first unread message

Gabriel Cotelli

unread,
Sep 19, 2011, 1:18:42 PM9/19/11
to va-sma...@googlegroups.com
Hi

CwWidget>>abtDirectEditApplyText: aWidget clientData: anEditPart callData: callData

self subclassResponsibility 

looks weird to me. There's only two sub-implementors and the rest of the CwWidget hierachy don't implement this message. 
IMHO this should be removed from CwWidget.
Also the only sender of this message (implemented in CwWidget) is sent only from this two sub-implementors, so probably it's a good candidate for removal in CwWidget and implement it in another place.

Regards,
Gabriel


Reply all
Reply to author
Forward
0 new messages