Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Menu for cocoa


Please watch the code when it comes in and help me fix it.  Eclipse doesn't use real operating system accelerators yet they need to draw in the menu items and be read by accessibility tools.  Cocoa does not have custom draw menus so we are really screwed.  I am working on a amazing hack now.  I should be done in a day or so.

P.S. I just typed in the switch and I'm sure I missed some.



Scott Kovatch <skovatch@xxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

09/19/2008 12:47 PM

Please respond to
"Eclipse Platform SWT component developers list."        <platform-swt-dev@xxxxxxxxxxx>

To
"Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>
cc
Subject
Re: [platform-swt-dev] Menu for cocoa








On 9/19/08 7:04 AM, "Steve Northover" <Steve_Northover@xxxxxxxxxx> wrote:

> I'm taking ownership of Menu.java and MenuItem.java and fixing them.  There's
> all sorts of hairy issues around accelerators and the like that I am fighting.

Let me know if you get stuck. I lived in the menu world for a few months and
still remember most of the gotchas.

One free tip: You're almost certainly going to need a great big switch block
for converting from a virtual key to the key equivalent defined in
NSEvent.h, and even then you will probably miss some. :-)

- Scott

---------------
Scott Kovatch
Flex Engineering
Adobe Systems, Inc.
skovatch@xxxxxxxxx

I am Scott Kovatch, and I approved this message.

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top