[ENH] SMLoaderMVC-nk

Ned Konz squeak-dev at lists.squeakfoundation.org
Thu Oct 31 15:38:01 UTC 2002


On Wednesday 30 October 2002 11:50 pm, danielv at netvision.net.il wrote:
> Hi Ned, just looked this over, it looks good except for one thing -
> I wonder if the #perform:orSendTo: mechanism is the best place for
> putting the code for switching filters on and off, especially since
> this is implemented in a few methods already.
>
> Is there an MVC specific reason not to use #toggleFilterState:?

Yes, you can't pass arguments to a menu item in MVC, AFAICT (you're=20
limited to a single selector). So I ended up encoding the set/reset=20
along with the specific filter, and unpacking them in=20
perform:orSendTo:.

--=20
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE




More information about the Squeak-dev mailing list