|
Re: 3.1 problem with accelerators [message #289837 is a reply to message #289814] |
Thu, 11 August 2005 13:23 |
Eclipse User |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
"Adam Vartanian" <flooey@ucla.edu> wrote in message
news:ddeql8$h92$1@news.eclipse.org...
>I have an editor that uses a subclass of TextEditorActionContributor to
>provide two menu items, each of which has an accelerator specified in the
>label property in the related resource bundle. This worked up through the
>last milestone I tested it on, which was 3.1M4, but the accelerators don't
>work in the 3.1 final release version (though the menu items show up and
>work just fine). Is there something that changed with how this needs to be
>done? Nothing is mentioned in the migration guide.
>
The whole action key-binding mechanism has changed.
There was an extensive discussion about it on this newsgroup last week.
Search for posts about key bindings.
---
Sunil
|
|
|
Re: 3.1 problem with accelerators [message #289896 is a reply to message #289814] |
Fri, 12 August 2005 15:12 |
Eclipse User |
|
|
|
Originally posted by: douglas.pollock.magma.ca
Adam Vartanian wrote:
> I have an editor that uses a subclass of TextEditorActionContributor to
> provide two menu items, each of which has an accelerator specified in
> the label property in the related resource bundle. This worked up
> through the last milestone I tested it on, which was 3.1M4, but the
> accelerators don't work in the 3.1 final release version (though the
> menu items show up and work just fine). Is there something that changed
> with how this needs to be done? Nothing is mentioned in the migration
> guide.
Using the label to set accelerators has been deprecated since 3.0 or
earlier. The fact that it has been working for you is probably just
representative of the fact that the bindings weren't defined elsewhere.
So, I you were using "Alt+/", for example, it would have worked in 3.0.
However, in 3.1, the commands now grab "Alt+/" as Word Completion ... which
would take priority over your label-based binding.
And, as Sunil said, there's been an extensive discussion of the
non-deprecated support on the newsgroups over the past couple of weeks.
d.
|
|
|
Powered by
FUDForum. Page generated in 0.03197 seconds