Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Browser Context Menu and Selectable Content
Browser Context Menu and Selectable Content [message #1042416] Tue, 16 April 2013 12:03 Go to next message
Sebastien Arod is currently offline Sebastien ArodFriend
Messages: 41
Registered: July 2009
Member
Hi,

RWT suppresses the Browser Context Menu and prevents user to select the content of most widgets. This is fine for most application and it totally makes sense to allow usage of RWT defined Context Menus and right click events management.

However when application does not rely on right click events it would be nice to have a way to reenable default browser behaviour. This would allow user to use the services provided by his browser like the "Search in google <selected-text>" action in Firefox or even some actions provided by a browser plug-in like. It would also allow to copy and paste the content of a whole form. Basically it would make the application feel like a more "standard" web application.

So my question is: is there a way to disable right click events capture and to reenable user selectable content for a whole EntryPoint or for some widgets?


Regards,
-Seb
Re: Browser Context Menu and Selectable Content [message #1046695 is a reply to message #1042416] Mon, 22 April 2013 08:42 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Sebastien,

The reason behind unselectable content is compatibility with SWT, which
doesn't allow to select and copy text except in a text field. Moreover,
if content was selectable, it would automatically be selected on double
click.

However, I agree that selectable content and context menu would make RAP
application more web-like. We already show the browser context menu in
Text fields that do not specify their own context menu. Maybe there are
similar ways for other widgets and for selectable text. Feel free to
open an enhancement request.

Regards, Ralf

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Browser Context Menu and Selectable Content [message #1046714 is a reply to message #1046695] Mon, 22 April 2013 09:06 Go to previous message
Sebastien Arod is currently offline Sebastien ArodFriend
Messages: 41
Registered: July 2009
Member
Hi Ralph,

Thanks for the answer I created enhancement 406199.


Regards,
-Seb
Previous Topic:Custom JFace Dialogs LifeCyle
Next Topic:Absolutly no luck trying out RAP.
Goto Forum:
  


Current Time: Fri Apr 26 18:54:14 GMT 2024

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

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

Back to the top