2011-01-06 74 views

回答

1

添加一個ProgressListener它。它有一個名爲completed的方法,通過它您會收到一個頁面已完全加載的通知。

2

您需要處理LocationListener中的changed()方法(http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/ eclipse/swt/browser/ProgressListener.html)並測試event.top是否爲真

相關問題