[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Question: Location changes on the Browser widget
|
- From: AL <unbonnevie@xxxxxxxxx>
- Date: Thu, 26 May 2005 15:23:57 -0700
- Newsgroups: eclipse.platform.swt
- Organization: EclipseCorner
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
Hi,
The SWT Browser widget lets listen for location/URL changes. You
install a LocationListener listener and implement the changing() and
changed() methods both of which are passed with the LocationEvent object.
My changing() and changed() methods are called and I echo out the
location. Please see below. My question is why I am notified with the
"about:blank" and "res:" location changes? How would I turn these
"irrelevant" notifications? My location is C:\doc\index.html.
locationChanging: res://C:\WINDOWS\System32\shdoclc.dll/navcancl.htm
locationChanging: about:blank
locationChanged: about:blank
locationChanging: res://C:\WINDOWS\System32\shdoclc.dll/navcancl.htm
locationChanging: about:blank
locationChanged: about:blank
locationChanging: C:\doc\index.html
locationChanged: C:\doc\index.html