Re: Setting Accelerator using setText() on 3.2 doesn't seem to work [message #303595] |
Wed, 17 May 2006 14:30 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02797 seconds