Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Tooltip for the list of Actions in the context menu
Tooltip for the list of Actions in the context menu [message #224864] Mon, 23 October 2006 09:13 Go to next message
Eclipse UserFriend
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 #224902 is a reply to message #224864] Mon, 23 October 2006 16:10 Go to previous messageGo to next message
Xiang Qinxian is currently offline Xiang QinxianFriend
Messages: 119
Registered: July 2009
Senior Member
在 2006-10-23一的 09:13 +0000,Siddharth写道:
> 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
>
>
Hi,
Each ActionContributionItem has a getAction() method, you need only to
operate the target action.

Regards,

Qinxian.
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Xiang Qinxian is currently offline Xiang QinxianFriend
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
Previous Topic:Dynamic Tooltip
Next Topic:Editing complex Properties(Attributes)
Goto Forum:
  


Current Time: Sat Dec 04 20:55:18 GMT 2021

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

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

Back to the top