Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Context Sensitive Help in RAP
icon5.gif  Context Sensitive Help in RAP [message #687980] Thu, 23 June 2011 15:39 Go to next message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Does RAP support context sensitive help? I am working on a single source project that I have a help system in a fragmented bundle that is shared between RCP and RAP. The help system launches fine in both cases, but pressing F1 in RAP does not do anything while RCP will show the Help window with context about the page that I am viewing.

Any insights will be appreciated!
Re: Context Sensitive Help in RAP [message #689693 is a reply to message #687980] Tue, 28 June 2011 07:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by:

Ronald,

in general, RAP supports the SWT HelpEvent and thus workbench help
support should also work. However, browsers handle F1 key events very
differently [1] and IIRC some don't allow to prevent the default action
at all (which would lead to two actions when F1 is pressed). Not sure if
we reached the limit here yet.

Please feel free to file a bugzilla [2] that lists which browsers don't
support the help key. Possibly we might be able to improve help-key
handing yet.

HTH
Rüdiger

[1] http://www.quirksmode.org/js/keys.html
[2] http://eclipse.org/rap/support/#new-bugs

On 23.06.2011 17:39, Ronald So wrote:
> Does RAP support context sensitive help? I am working on a single source
> project that I have a help system in a fragmented bundle that is shared
> between RCP and RAP. The help system launches fine in both cases, but
> pressing F1 in RAP does not do anything while RCP will show the Help
> window with context about the page that I am viewing.
>
> Any insights will be appreciated!


--
Rüdiger Herrmann

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Context Sensitive Help in RAP [message #885857 is a reply to message #689693] Wed, 13 June 2012 18:20 Go to previous messageGo to next message
Ronald So is currently offline Ronald SoFriend
Messages: 198
Registered: April 2011
Senior Member
Hi,

I have asked this question roughly a year ago. With all the enhancements that RAP made in the hotkeys area, is it now possible to intercept the F1 keypress event, suppress the browser help and launch my own help system?

Thanks,
Ronald

Re: Context Sensitive Help in RAP [message #889516 is a reply to message #885857] Tue, 19 June 2012 10:01 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Ronald,

We're all very busy here a few days before the Juno release. But you can
easily try it yourself with the browsers you're interested in. There's
an article in the dev guide [1] that explains how to suppress the
browser's default operation on key press (using CANCEL_KEYS).

Best regards,
Ralf

[1]
http://eclipse.org/rap/developers-guide/devguide.php?topic=rwt/key-and-mouse-events.html#prevent

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:[ANN] File upload and incubator repository for RAP 1.4
Next Topic:Gaps between RCP vs RAP
Goto Forum:
  


Current Time: Sat Apr 20 01:38:31 GMT 2024

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

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

Back to the top