简体   繁体   中英

Tooltips in Eclipse RCP window toolbar menus

I created a window with a toolbar with menus. Now I want menu items to have tooltips, and I did not succeed.

I'm on Ubuntu 12.04.

What I've already tryed:

  1. Set the 'tooltip' for menu contribution in plugin.xml

  2. Set the 'description' for the command

  3. Setup tooltip text in the actions in submenus that I create programmatically using ManuManager and Action.

Regards, Vladimir

According to the description of the popupMenus extension point tooltips are only shown when the action is part of a toolbar. There exists an Eclipse Bug considering this problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM