Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this messagesneha29 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 >
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.