[mcclim-devel] Listener menus

Mike McDonald mikemac at mikemac.com
Thu Jan 4 14:42:04 UTC 2007


>To: "Andy Hefner" <ahefner at gmail.com>
>Date: Thu, 04 Jan 2007 09:19:04 +0000
>From: Christophe Rhodes

>I think that menu-items by default should probably not translate to
>commands.  Why?  Because I think that it's legitimate for an
>application to do (accept 'command) when not planning to run it
>immediately (maybe to batch it up, to send to a remote process, or
>something); under those circumstances, I would expect selecting
>something from the application's menu bar not to fulfil this accept
>but instead to run its own command directly.

  I disagree. A menu is nothing more than a way of grouping and
presenting a bunch of commands, no different than an button box. In
your example, if the command I wanted to accept was "Save", picking it
off the "File" menu seems like the way to do it.

  Mike McDonald
  mikemac at mikemac.com



More information about the mcclim-devel mailing list