Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Communicating between eclipse and swt browser...
Communicating between eclipse and swt browser... [message #282106] Fri, 04 March 2005 02:43 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..
-Sridhar
Re: Communicating between eclipse and swt browser... [message #282120 is a reply to message #282106] Fri, 04 March 2005 21:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.objfac.com

Check the eclipse.platform.swt newsgroup. Several snippets have been
posted there that show how to do this. If you can't find them, re-ask
the question there.

Bob

Sridhar wrote:
> 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..
> -Sridhar
>
>
Re: Communicating between eclipse and swt browser... [message #282121 is a reply to message #282120] Fri, 04 March 2005 21:38 Go to previous message
sck is currently offline sckFriend
Messages: 70
Registered: July 2009
Member
thanks,
Sri
"Bob Foster" <bob@objfac.com> wrote in message
news:4228D240.8080307@objfac.com...
> Check the eclipse.platform.swt newsgroup. Several snippets have been
> posted there that show how to do this. If you can't find them, re-ask
> the question there.
>
> Bob
>
> Sridhar wrote:
> > 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..
> > -Sridhar
> >
> >
Previous Topic:Multi-user installation/execution
Next Topic:myEclipse on Sparc Solaris 8
Goto Forum:
  


Current Time: Thu Sep 26 06:15:11 GMT 2024

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

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

Back to the top