|
Re: How do u add a mnuemonic to the MenuItem ? [message #436656 is a reply to message #436610] |
Wed, 14 September 2005 08:24 |
Eclipse User |
|
|
|
Originally posted by: kevin.cs.washington.edu
Genu George wrote:
>
> i have used menuItem.setAccelerator( SWT.CTRL | 'N');
>
> Now i want to display CTRL+N on the menuItem ...How do i do it ?
>
I'm not sure how to do it, but I know how you can find out.
In Eclipse go to new-project-plugin project-rcp-mail app.
Look at the 'File' menu in the mail app after you run it.
|
|
|
|
|
|
|
Re: How do u add a mnuemonic to the MenuItem ? [message #437048 is a reply to message #437023] |
Wed, 21 September 2005 09:00 |
Eclipse User |
|
|
|
Originally posted by: gkurien.icope.com
I Think it works for some specific letters...
i am using all this in the file menuPath when i write
Action saveAction = new saveAction( "&Save\tCTRL+S", "MY_ID"); it does
not work
but when i write the same code with a differnt letter ie
Action saveAction = new SaveAction( "&Save\tCTRL+D", "MY_ID"); it works !!
the only thing i have changed is 'CTRL+[S]' to 'CTRL+[D]'
i am using eclipse 3.1 and i am not using a MenuItem directly
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08625 seconds