Tooltip for the list of Actions in the context menu [message #224864] |
Mon, 23 October 2006 09:13 |
Eclipse User |
|
|
|
Originally posted by: siddharth.star.gmail.com
Hi,
I wanted to show a tooltip for all the actions(IAction) appearing the
context menu(ContextMenuProvider). I debugged upto ActionContributionItem
and could see the UI for the tooltip text is not set here. Any help would
be greatly appreciated.
Thanks,
Siddharth
|
|
|
|
Re: Tooltip for the list of Actions in the context menu [message #224968 is a reply to message #224902] |
Tue, 24 October 2006 05:12 |
Eclipse User |
|
|
|
Originally posted by: siddharth.star.gmail.com
Hi,
I have a slight problem, the ui representations of the actions in my
context manager are instances of MenuItem instead of Tool Item so is there
anyway i can show a tooltip for those menu itmes or is there a way i can
prepare a list of tool items and show it in a smiliar manner to the
context menu manager.
Thanks,
Siddharth
|
|
|
Re: Tooltip for the list of Actions in the context menu [message #225026 is a reply to message #224968] |
Tue, 24 October 2006 14:06 |
Xiang Qinxian Messages: 119 Registered: July 2009 |
Senior Member |
|
|
在 2006-10-24二的 05:12 +0000,Siddharth写道:
> Hi,
> I have a slight problem, the ui representations of the actions in my
> context manager are instances of MenuItem instead of Tool Item so is there
> anyway i can show a tooltip for those menu itmes or is there a way i can
> prepare a list of tool items and show it in a smiliar manner to the
> context menu manager.
> Thanks,
> Siddharth
>
Hi,
MenuItem no easy ways to do tooltip, its target is not. If have to do,
add a SelectionListener to it, and give a bubble-like widget with owner
draw style should work.
By the way, the quest posted in rcp or platform group maybe a good idea.
Regards,
Qinxian
|
|
|
Powered by
FUDForum. Page generated in 0.04881 seconds