Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-monitor-widget@114425 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-04-27 09:28:36 +00:00 committed by Giancarlo Panichi
parent f2d3be6189
commit 6226225b78
5 changed files with 25 additions and 1 deletions

View File

@ -451,6 +451,9 @@ public class MonitorDialog extends Window implements MonitorUpdaterListener {
}
protected void close() {
if(progressUpdater!=null){
progressUpdater.cancel();
}
hide();
}

View File

@ -78,6 +78,9 @@ public class MonitorBackgroundDialog extends Window {
}
protected void close() {
if (monitorBackgroundPanel != null) {
monitorBackgroundPanel.cancelMonitorBackgroundUpdater();
}
hide();
}

View File

@ -71,8 +71,12 @@ public class MonitorBackgroundInfoDialog extends Window {
}
protected void close() {
if(monitorBackgroundInfoPanel!=null){
monitorBackgroundInfoPanel.cancelMonitorBackgroundInfoUpdater();
}
hide();
}

View File

@ -409,6 +409,13 @@ public class MonitorBackgroundInfoPanel extends FramedPanel implements
monitorBackgroundInfoUpdater.run();
}
public void cancelMonitorBackgroundInfoUpdater(){
if(monitorBackgroundInfoUpdater!=null){
monitorBackgroundInfoUpdater.cancel();
}
}
protected void close() {
if (parent != null) {
parent.close();

View File

@ -236,10 +236,17 @@ public class MonitorBackgroundPanel extends FramedPanel implements
if (parent != null) {
parent.close();
}
monitorBackgroundUpdater.cancel();
}
public void cancelMonitorBackgroundUpdater(){
if(monitorBackgroundUpdater!=null){
monitorBackgroundUpdater.cancel();
}
}
private void addChildrensToStore() {
if (backgroundOperationMonitorList != null) {
store.addAll(backgroundOperationMonitorList);