[squeak-dev] how to extend a class (add methods) and have the source of the methods be in a category other than the one the class is defined in?

Bob Arning arning315 at comcast.net
Fri Jan 13 17:18:37 UTC 2017


Class categories (the first pane on the left at the top of a system 
browser) are completely different from method categories (third pane 
from the left). Assuming you are talking about method categories, you can:

- select the desired method category before you enter and save the method

- if it's already in the wrong category...

-- drag the method name from the fourth pane into the third pane at the 
desired category

-- copy the method source, select the desired category, paste the method 
source back in and save

-- choose "reorganize" from the third pane menu


On 1/13/17 11:55 AM, Louis LaBrunda wrote:
> Hi All,
>
> How does one extend a class (add methods) and have the source of the methods be in a category
> other than the one the class is originally defined in?  I expect this is simple and I'm just
> missing something easy.
>
> Lou

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170113/6078ac0b/attachment.html>


More information about the Squeak-dev mailing list