Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Re: Setting Accelerator using setText() on 3.2 doesn't seem to work
Re: Setting Accelerator using setText() on 3.2 doesn't seem to work [message #303595] Wed, 17 May 2006 18:30
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Mike Boyersmith wrote:
> Its about a views, context menu manager and an Action I pass to it.
>
> so in my manager I do
>
> man.add(myAction);
>
> earlier in my Action on construction I call
> ....
> setText("Select &All\tCtrl+A");
> setAccelerator(SWT.CTRL | 'A');
> ...
>
> However when the IDE comes up, the view appears I get my menu, but the
> "CTRL + A" doesn't work, (note I've tried other character combos with no
> luck so far)
>
> I started digging into the eclipse code and I believe in 3.2 things have
> changed a bit in how you register. Hoping someone can give me the quick
> answer on how to properly register in 3.2 accelerators in a view.

yup, this should go in the eclipse.platform newsgroup.


Previous Topic:unable to import org.ecliplse.jface.text.TextSelection
Next Topic:Callings server side components from RCP
Goto Forum:
  


Current Time: Thu Aug 15 04:21:49 GMT 2024

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

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

Back to the top