For Programmers: Free Programming Magazines  


Home > Archive > Java Help > August 2007 > Eclipse plugin : Browser View query









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Eclipse plugin : Browser View query
sneha29@gmail.com

2007-08-22, 4:23 am

Hi All,

I have developed a Browser view plugin.
Following are its details:
->On running the code, a browser opens in a new view called
BrowserView. ->This browser is able to navigate through the internet
pages using the back, forward, go, refresh, stop buttons.
->If we type a url in the address bar and hit enter , the browser
opens
the required page.

However I am facing a problem when I try to load any URL by clicking
on a hyperlink on any internet page. The browser does nothing when I
click any Url.
Following are my observations when I tried debugging the program:
-> There are two methods: changing and changed inplemented by the
Location Listener. Whenever any URL is loaded, these 2 methods are
called.

-> But when I click on any hyperlink of a page, the method changed of
Location Listener is not getting called. This is because the
selected
url is not getting opened.

I am not able to understand that when any link is clicked in a Browser
view, which event gets called and how is the selected url opened. I
tried searching on net for the answer but did not get any pointers.

If anyone has developed a similar plugin, can I get some pointers to
the probable reason for why this is happening?


Thanks,
Sneha Apte

Jeff Higgins

2007-08-22, 8:11 am


sneha29 wrote:
> Hi All,
>
> I have developed a Browser view plugin.
> Following are its details:
> ->On running the code, a browser opens in a new view called
> BrowserView. ->This browser is able to navigate through the internet
> pages using the back, forward, go, refresh, stop buttons.
> ->If we type a url in the address bar and hit enter , the browser
> opens
> the required page.
>
> However I am facing a problem when I try to load any URL by clicking
> on a hyperlink on any internet page. The browser does nothing when I
> click any Url.
> Following are my observations when I tried debugging the program:
> -> There are two methods: changing and changed inplemented by the
> Location Listener. Whenever any URL is loaded, these 2 methods are
> called.
>
> -> But when I click on any hyperlink of a page, the method changed of
> Location Listener is not getting called. This is because the
> selected
> url is not getting opened.
>
> I am not able to understand that when any link is clicked in a Browser
> view, which event gets called and how is the selected url opened. I
> tried searching on net for the answer but did not get any pointers.


<http://www.eclipse.org/articles/Art...et/browser.html>
<http://www.eclipse.org/newsgroups/>

>
> If anyone has developed a similar plugin, can I get some pointers to
> the probable reason for why this is happening?
>
>
> Thanks,
> Sneha Apte
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com