Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Communicating between eclipse and swt browser...
Communicating between eclipse and swt browser... [message #451680] Fri, 04 March 2005 21:40 Go to next message
sck is currently offline sckFriend
Messages: 70
Registered: July 2009
Member
Hello All,
I have a requirement as follows...

My local (eclipse based plugin) windows application will launch an SWT
browser embedded in a SWT dialog. Once, the launch happens, the requirement
is that the eclipse plugin should be able to access the browser (DOM) some
how....If not, atleast some kind of two way communication mechanism between
the plugin and the browser.
Could you please provide me with information about the feasibility of having
such functionality...
I came across a sample code that communicates using Browser
StatusTextListener functionality. But, I feel that there could be a better
way of achieving this functionality. One possible approach could be is to
have the plugin run a small http server.

On a side note, I wonder how google provides a local desktop search
functionality..Is it done by having a server embedded in the desktop
application that they run.
thanks a lot in advance..
-Sck
Re: Communicating between eclipse and swt browser... [message #451877 is a reply to message #451680] Thu, 10 March 2005 14:26 Go to previous messageGo to next message
Christophe Cornu is currently offline Christophe CornuFriend
Messages: 304
Registered: July 2009
Senior Member
Hi Sck,

Add your vote to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=57477

At the moment as you suggested you need to use techniques like the one from
snippet "query DOM node value".
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet160.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
And this one:
"modify DOM (execute javascript)"
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet161.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

Chris
Re: Communicating between eclipse and swt browser... [message #451891 is a reply to message #451877] Thu, 10 March 2005 18:36 Go to previous message
sck is currently offline sckFriend
Messages: 70
Registered: July 2009
Member
thanks for pointing me to the voting link....I voted for it..
I think, this kind of functionality is becoming more and more common with
Eclipse.
thanks,
Sck.

"Christophe Cornu" <christophe_cornu@ca.ibm.com> wrote in message
news:d0plgj$46t$1@www.eclipse.org...
> Hi Sck,
>
> Add your vote to
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=57477
>
> At the moment as you suggested you need to use techniques like the one
from
> snippet "query DOM node value".
>
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet160.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
> And this one:
> "modify DOM (execute javascript)"
>
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet161.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
>
> Chris
>
>
Previous Topic:Handling Selection events of dynamically created popup menus
Next Topic:SWT TUTORIAL
Goto Forum:
  


Current Time: Thu Apr 25 08:29:49 GMT 2024

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

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

Back to the top