Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Embedded Browser Blues
Embedded Browser Blues [message #604862] Tue, 02 March 2010 22:52 Go to next message
John O'Grady is currently offline John O'GradyFriend
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 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
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
Previous Topic:Embedded Browser Blues
Next Topic:controlling and managing a plugin
Goto Forum:
  


Current Time: Tue Apr 16 22:50:35 GMT 2024

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

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

Back to the top