Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » Tooltip in menu items(howto display tooltip in menu items)
Tooltip in menu items [message #1733386] Fri, 27 May 2016 06:47 Go to next message
Krzysztof Szymanek is currently offline Krzysztof SzymanekFriend
Messages: 9
Registered: June 2015
Junior Member
I failed to show tooltip on the menu items. What I did is:
1. In application.e4xmi I set Tooltip property of the DirectMenuItem.
2. I also try in code
MHandledMenuItem menuElement = MMenuFactory.INSTANCE.createHandledMenuItem();
menuElement.setTooltip( "Hi, where is my tooltip?" );


Is it possible to show tooltip on menu items. If so I would be grateful for help.
If not maybe you know howto workaround it.
Is the only way to modify
WsmMenuItemRenderer
to use e.g.
CustomMenuItem
instead of
MenuItem

and manully handle setting tootlip?

[Updated on: Fri, 27 May 2016 07:47]

Report message to a moderator

Re: Tooltip in menu items [message #1733462 is a reply to message #1733386] Fri, 27 May 2016 17:29 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6313
Registered: July 2009
Senior Member
Right the JavaFX MenuItem does not support tooltips so the renderer does not pass on the information
Previous Topic:OnAction method with parameters
Next Topic:launching html page in eclipse android view
Goto Forum:
  


Current Time: Thu May 25 05:10:12 GMT 2017

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

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