[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?
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
-- 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev