Embedded Browser Blues [message #604862] |
Tue, 02 March 2010 22:52 |
John O'Grady Messages: 4 Registered: March 2010 Location: Wherever there's a coding... |
Junior Member |
|
|
Doing a google search nets me very little in the way of actual answers to my question, so I'm trying here now.
What I'm looking for is a way to utilize an embedded browser engine - like gecko or webkit, complete with the javascript interpreter, in an editor. In other words, I want to have an RCP app where a user can open an editor that uses an HTML rendering engine to display HTML content.
Of course, just that would be too easy, so I'm going to push my luck and ask if it is possible to interact with the displayed HTML content through the Eclipse RCP - like be able to manipulate the HTML DOM from java classes.
I'm new to RCP, so be kind. If you can show me the path, I'll walk it myself, but right now I'm just plain lost as to how to begin, let alone if it is even possible. Any help would be greatly appreciated.
|
|
|
Re: Embedded Browser Blues [message #604866 is a reply to message #604862] |
Tue, 02 March 2010 23:27 |
Benjamin Muskalla Messages: 338 Registered: July 2009 |
Senior Member |
|
|
Hi John,
what you're searching for is the SWT Browser widget with it's JavaScript
bridge.
See this blog post how to use it:
http://eclipsesource.com/blogs/2009/06/16/eclipse-galileo-fe ature-top-10-list-number-9/
Regards,
Benny
John O'Grady wrote:
> Doing a google search nets me very little in the way of actual answers
> to my question, so I'm trying here now.
>
> What I'm looking for is a way to utilize an embedded browser engine -
> like gecko or webkit, complete with the javascript interpreter, in an
> editor. In other words, I want to have an RCP app where a user can open
> an editor that uses an HTML rendering engine to display HTML content.
>
> Of course, just that would be too easy, so I'm going to push my luck and
> ask if it is possible to interact with the displayed HTML content
> through the Eclipse RCP - like be able to manipulate the HTML DOM from
> java classes.
>
> I'm new to RCP, so be kind. If you can show me the path, I'll walk it
> myself, but right now I'm just plain lost as to how to begin, let alone
> if it is even possible. Any help would be greatly appreciated.
--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
|
|
|
Powered by
FUDForum. Page generated in 0.01872 seconds