Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Actionbar contributor doesn't have access to keybinding service


Great!  I have opened 33666. If I understand correctly, then adding an Action to an ActionBar should automatically register that action with the keybinding service.  I assume this is true everywhere.  Or is it true for menubars but false for toolbars (since they can't display the accelerator)?  What about View Toolbars?  View drop-down menus?  The effects of setActionDefinitionID aren't clear to me.

thanks,
Randy Hudson



Nick_Edgar@xxxxxxxxxx
Sent by: platform-ui-dev-admin@xxxxxxxxxxx

03/11/2003 11:11 AM
Please respond to platform-ui-dev

       
        To:        platform-ui-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [platform-ui-dev] Actionbar contributor doesn't have access to keybinding service




Randy,


This should be done for you.  Please enter a PR.


Nick



Randy Hudson/Raleigh/IBM@IBMUS
Sent by: platform-ui-dev-admin@xxxxxxxxxxx

03/11/03 10:39 AM
Please respond to platform-ui-dev

       
       To:        platform-ui-dev@xxxxxxxxxxx

       cc:        

       Subject:        [platform-ui-dev] Actionbar contributor doesn't have access to keybinding service





I noticed that an EditorPart can get to the keybinding service via IWorkbenchPartSite.getKeybindingService().   But, an EditorActionBarContributor cannot obtain the keybinding service.  Is this intentional?  How is the contributor supposed to register an action that it places on the menu?  Or, maybe it doesn't need to.


Currently, I am not registering my action that the contributor places on the menubar, but I am setting the definition ID.  The result is that the accelerator is displayed for free, but the accelerator doesn't work.


Randy Hudson



Back to the top