Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to add dynamically the shortcut sequence to the tooltip text of a button ?
How to add dynamically the shortcut sequence to the tooltip text of a button ? [message #544741] Mon, 05 July 2010 08:00 Go to next message
Eclipse UserFriend
Hello,

I develop a RCP application based on E 3.4 platform and I haven't found how to add the shortcut sequence to the tooltip text of a button (in the toolbar).

Of course, I could add the sequence manually to the tooltip text but I'd like the shortcut stay synchronized with the user config of the shortcut list.

Is it an Eclipse package to add to the application or a parameter to set somewhere ?

Thank you in advance for your help.
Re: How to add dynamically the shortcut sequence to the tooltip text of a button ? [message #545756 is a reply to message #544741] Thu, 08 July 2010 19:50 Go to previous messageGo to next message
Eclipse UserFriend
Hi Laurent,

The IBindingService is registered during workbench startup. This looks like
just the class you need.

PlatformUI.getWorkbench.getService(ibindingservice)

Best regards,

Wim Jongman


> Hello,
>
> I develop a RCP application based on E 3.4 platform and I haven't found how
to add the shortcut sequence to the tooltip text of a button (in the
toolbar).
>
> Of course, I could add the sequence manually to the tooltip text but I'd
like the shortcut stay synchronized with the user config of the shortcut
list.
>
> Is it an Eclipse package to add to the application or a parameter to set
somewhere ?
>
> Thank you in advance for your help.
Re: How to add dynamically the shortcut sequence to the tooltip text of a button ? [message #546115 is a reply to message #545756] Sun, 11 July 2010 04:59 Go to previous message
Eclipse UserFriend
Wim Jongman wrote on Fri, 09 July 2010 01:50
The IBindingService is registered during workbench startup. This looks like just the class you need.

PlatformUI.getWorkbench.getService(ibindingservice)
Thank you.

I'm not really aware about those components, but I wanna search in that way Wink
Previous Topic:add a RCP gui to an existing Equinox/OSGi environment
Next Topic:EFS - CMIS based implementation
Goto Forum:
  


Current Time: Mon Jul 07 11:48:08 EDT 2025

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

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

Back to the top