Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » SWT.MouseHover
SWT.MouseHover [message #1775787] Mon, 06 November 2017 12:27 Go to next message
Eclipse UserFriend
Hello

Can I realise action for mousehover for widget in RAP?
I want to open menu without click mouse
Dmitry
Re: SWT.MouseHover [message #1776152 is a reply to message #1775787] Mon, 13 November 2017 09:13 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
mouse track listeners are not yet supported in RAP. Probably we will consider adding support for them in one of the next releases.
Regards,
Ivan
Re: SWT.MouseHover [message #1776235 is a reply to message #1775787] Tue, 14 November 2017 09:19 Go to previous message
Eclipse UserFriend
If you do not insist on using 'classic' context menu, create the menu as a composite which contains links or buttons (or whatever you want to use as menu items) and use ClientListeners to change the menu's visibility.

Add a MouseEnter ClientListener to the widget you want to provide the menu for (to show the menu) and a MouseExit ClientListener to the menu widget (to hide the menu). See [1] for further information on ClientListeners.

[1] https://eclipse.org/rap/developers-guide/devguide.php?topic=scripting.html&version=3.1#ClientListener
Previous Topic:Sash of sashform can't be released inside RichTextEditor editor.
Next Topic:Nebula Grid text color using Table-GridLine:horizontal
Goto Forum:
  


Current Time: Wed Feb 12 02:06:22 GMT 2025

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

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

Back to the top