Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to attach the context menu to a custom widget
How to attach the context menu to a custom widget [message #1150437] Tue, 22 October 2013 19:35 Go to next message
Christian Hager is currently offline Christian HagerFriend
Messages: 53
Registered: July 2009
Location: Germany
Member
Hi,

I'm developing a custom widget using the new custom widget api and was wondering if it is possible to integrate the rap context menu in my widget. If it is possible then how can I achieve this?


Thanks in advance for any hints or help.


Christian
Re: How to attach the context menu to a custom widget [message #1151293 is a reply to message #1150437] Wed, 23 October 2013 08:45 Go to previous message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

Though I haven't tried it, I think it should work out of the box as long
as you extend the Composite widget and don't block the "contextmenu" DOM
event. It won't work if you use an iframe or any browser plug-ins.

Greetings,
Tim

Am 22.10.2013 21:35, schrieb Christian Hager:
> Hi,
>
> I'm developing a custom widget using the new custom widget api and was
> wondering if it is possible to integrate the rap context menu in my
> widget. If it is possible then how can I achieve this?
>
>
> Thanks in advance for any hints or help.
>
>
> Christian

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:e4 and RAP? Current status?
Next Topic:SWT.INHERIT_DEFAULT override individual control
Goto Forum:
  


Current Time: Fri Apr 19 14:51:02 GMT 2024

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

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

Back to the top