Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » 3.1 problem with accelerators
3.1 problem with accelerators [message #289814] Thu, 11 August 2005 06:19 Go to next message
Adam Vartanian is currently offline Adam VartanianFriend
Messages: 2
Registered: July 2009
Junior Member
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.

- Adam
Re: 3.1 problem with accelerators [message #289837 is a reply to message #289814] Thu, 11 August 2005 13:23 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Cannot able to update TableItem dynamically from a thread written inside asyncexec Method
Next Topic:Remove filter from preferences
Goto Forum:
  


Current Time: Sat Apr 27 04:45:47 GMT 2024

Powered by FUDForum. Page generated in 0.03197 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top