browser.setData("CMJ_updateStatus.status", newStatus);
new CMJ_updateStatus().asyncExec(browser, newStatus);
}
}
});
browser.addProgressListener(new ProgressListener() {
private void updateProgress(int loadingProgress) {
Integer oldLoadingProgress = (Integer)browser.getData("CMJ_updateProgress.progress");
if(!Utils.equals(oldLoadingProgress, loadingProgress)) {
browser.setData("CMJ_updateProgress.progress", loadingProgress);
new CMJ_updateLoadingProgress().asyncExec(browser, loadingProgress);