if ( vitalityImage != null ){
vitalityImage.setVisible(false);
}
}
}
browserSkinObject.addListener(new loadingListener() {
public void browserLoadingChanged(boolean loading, String url) {
if (vitalityImage != null) {
vitalityImage.setVisible(loading);
}
}
});
SWTSkinObject soSearchResults = getSkinObject("searchresults-search-results");
if (soSearchResults instanceof SWTSkinObjectBrowser) {
SWTSkinObjectBrowser browserSearchResults = (SWTSkinObjectBrowser) soSearchResults;
browserSearchResults.addListener(new loadingListener() {
public void browserLoadingChanged(boolean loading, String url) {
if (vitalityImage != null) {
vitalityImage.setVisible(loading);
}
}