Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Interaction with browser widget
Interaction with browser widget [message #502323] Mon, 07 December 2009 17:04 Go to next message
Kai Schlamp is currently offline Kai SchlampFriend
Messages: 344
Registered: July 2009
Senior Member
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 17:12 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5468
Registered: July 2009
Senior Member
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 17:33 Go to previous message
Kai Schlamp is currently offline Kai SchlampFriend
Messages: 344
Registered: July 2009
Senior Member
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: Thu Nov 27 13:45:08 GMT 2014

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

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