Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » OLE Browser
OLE Browser [message #451372] Mon, 28 February 2005 12:52 Go to next message
Eclipse UserFriend
Originally posted by: zme.il.ibm.com

Hi All,

I have been working with SWT for some time. I need to
implement a very basic function using SWT/OLE/Browser.
My requirement is to be able to open a browser(IE) inside
SWT frame and be able to parse the html content in order to pass
it to another java bean. I also need to be able to catch an event
when the page text was changed and parse the new change.
I'm a pure java person, I don't
know anything about OLE...
Can anyone give me a code sample that does it ?
Any help will do.

Thanks in Advance,
Elad.
Re: OLE Browser [message #451389 is a reply to message #451372] Mon, 28 February 2005 23:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kent.generatescape.com

here are two example of the browser, but there are others:

http://www.eclipse.org/articles/Article-SWT-browser-widget/b rowser.html

http://www.eclipse.org/rcp/main.html

One I can't find now was a full blown rcp application that integrated with
google. It was from IBM but bugger if I can find it now. hmm.

You won't need to know anything about ole. And to parse just use your
favourite html parser, maybe someone else can give you some pointers but I
don't think eclipse has any specific html parsing abilities.


"Elad Mazaki" <zme@il.ibm.com> wrote in message
news:cvv46u$eju$1@www.eclipse.org...
> Hi All,
>
> I have been working with SWT for some time. I need to implement a very
> basic function using SWT/OLE/Browser.
> My requirement is to be able to open a browser(IE) inside
> SWT frame and be able to parse the html content in order to pass
> it to another java bean. I also need to be able to catch an event
> when the page text was changed and parse the new change.
> I'm a pure java person, I don't
> know anything about OLE...
> Can anyone give me a code sample that does it ? Any help will do.
>
> Thanks in Advance,
> Elad.
>
>
Re: OLE Browser [message #451391 is a reply to message #451372] Mon, 28 February 2005 23:56 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
If you are unfamiliar with Ole, I recommend you use the Browser widget which
hides all the Ole gunk from you (and works on GTK, Motif, Mac OS X, Photon
as well as Windows).

Check out the SWT Snippets:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet128.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
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

There are many more snippets for the Browser widget on the SWT Snippets
page:

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/dev.html#snippets

If you are still at a loss, ask again.

"Elad Mazaki" <zme@il.ibm.com> wrote in message
news:cvv46u$eju$1@www.eclipse.org...
> Hi All,
>
> I have been working with SWT for some time. I need to implement a very
> basic function using SWT/OLE/Browser.
> My requirement is to be able to open a browser(IE) inside
> SWT frame and be able to parse the html content in order to pass
> it to another java bean. I also need to be able to catch an event
> when the page text was changed and parse the new change.
> I'm a pure java person, I don't
> know anything about OLE...
> Can anyone give me a code sample that does it ? Any help will do.
>
> Thanks in Advance,
> Elad.
>
>
Re: OLE Browser [message #451434 is a reply to message #451391] Tue, 01 March 2005 23:34 Go to previous message
Eclipse UserFriend
Originally posted by: kent.generatescape.com

I found that article:

http://www-106.ibm.com/developerworks/edu/os-dw-os-rcp1-i.ht ml


"Veronika Irvine" <veronika_irvine@oti.com> wrote in message
news:d00b3i$njn$1@www.eclipse.org...
> If you are unfamiliar with Ole, I recommend you use the Browser widget
> which hides all the Ole gunk from you (and works on GTK, Motif, Mac OS X,
> Photon as well as Windows).
>
> Check out the SWT Snippets:
>
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet128.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup
> 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
>
> There are many more snippets for the Browser widget on the SWT Snippets
> page:
>
> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/dev.html#snippets
>
> If you are still at a loss, ask again.
>
> "Elad Mazaki" <zme@il.ibm.com> wrote in message
> news:cvv46u$eju$1@www.eclipse.org...
>> Hi All,
>>
>> I have been working with SWT for some time. I need to implement a very
>> basic function using SWT/OLE/Browser.
>> My requirement is to be able to open a browser(IE) inside
>> SWT frame and be able to parse the html content in order to pass
>> it to another java bean. I also need to be able to catch an event
>> when the page text was changed and parse the new change.
>> I'm a pure java person, I don't
>> know anything about OLE...
>> Can anyone give me a code sample that does it ? Any help will do.
>>
>> Thanks in Advance,
>> Elad.
>>
>>
>
>
Previous Topic:Tree: strange behaviour
Next Topic:Problem accessing displayed contents of TableViewer
Goto Forum:
  


Current Time: Fri Apr 19 08:36:17 GMT 2024

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

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

Back to the top