Java 类org.eclipse.swt.browser.StatusTextEvent 实例源码

项目:BiglyBT    文件:ExternalLoginCookieListener.java   
@Override
public void changed(StatusTextEvent event) {
    if(event.text.startsWith(AZCOOKIEMSG)) {
        String uriEncodedCookies =event.text.substring(AZCOOKIEMSG.length());
        try {
            String cookies = URLDecoder.decode(uriEncodedCookies, "UTF-8");

            if(listener != null) {
                listener.cookiesFound(cookies);
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
项目:AcademicTorrents-Downloader    文件:ExternalLoginCookieListener.java   
public void changed(StatusTextEvent event) {
    if(event.text.startsWith(AZCOOKIEMSG)) {
        String uriEncodedCookies =event.text.substring(AZCOOKIEMSG.length());
        try {
            String cookies = URLDecoder.decode(uriEncodedCookies, "UTF-8");

            if(listener != null) {
                listener.cookiesFound(cookies);
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
项目:jo-widgets    文件:MainBrowserImpl.java   
@Override
public void changed(final StatusTextEvent event) {
    for (final IBrowserDocumentListener listener : new LinkedList<IBrowserDocumentListener>(documentListeners)) {
        listener.statusTextChanged(event.text);
    }
}