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 Hager
Messages: 51
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 Buschtoens
Messages: 383
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:Deploying single sourced RAP/SWT application
Next Topic:Google Chrome + GET 304 Not Modified
Goto Forum:
  


Current Time: Tue Sep 16 21:47:46 GMT 2014

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

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