Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Interaction with browser widget
Interaction with browser widget [message #502323] Mon, 07 December 2009 12:04 Go to next message
Eclipse UserFriend
Hello.

I want to embed a browser widget in my Eclipse RCP application. I also want to implement some kind of interaction between both. For example execute some Java code when text is selected in the browser widget and so on. Unfortunately there seems to be no helper methods or listeners in the API of the Browser widget that support that task.
Is there a nice way to accomplish that? It would be a real killer feature for RCP applications, escpecially these days were desktop applications and web applications merge together.

Regards,
Kai
Re: Interaction with browser widget [message #502326 is a reply to message #502323] Mon, 07 December 2009 12:12 Go to previous messageGo to next message
Eclipse UserFriend
The feature you are after is: BrowserFunction (I'm sure it is in 3.6 and
JavaDoc says it is also in 3.5)

Tom


Kai Schlamp schrieb:
> Hello.
>
> I want to embed a browser widget in my Eclipse RCP application. I also
> want to implement some kind of interaction between both. For example
> execute some Java code when text is selected in the browser widget and
> so on. Unfortunately there seems to be no helper methods or listeners in
> the API of the Browser widget that support that task.
> Is there a nice way to accomplish that? It would be a real killer
> feature for RCP applications, escpecially these days were desktop
> applications and web applications merge together.
>
> Regards,
> Kai
Re: Interaction with browser widget [message #502332 is a reply to message #502326] Mon, 07 December 2009 12:33 Go to previous message
Eclipse UserFriend
Hi Tom.

That's great news. Interaction is pretty easy now.

Javascript -> RCP = BrowserFunction
RCP -> Javascript = Browser.evaluate

Thanks a lot for that hint.

Regards,
Kai

Tom Schindl wrote on Mon, 07 December 2009 12:12

The feature you are after is: BrowserFunction (I'm sure it is in 3.6 and
JavaDoc says it is also in 3.5)

Tom


Previous Topic:Hibernate cross bundle mapping with annotations
Next Topic:How to display the help icon in the preferences dialog
Goto Forum:
  


Current Time: Mon Apr 28 07:51:36 EDT 2025

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

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

Back to the top