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:
parent
f2d3be6189
commit
6226225b78
|
@ -451,6 +451,9 @@ public class MonitorDialog extends Window implements MonitorUpdaterListener {
|
|||
}
|
||||
|
||||
protected void close() {
|
||||
if(progressUpdater!=null){
|
||||
progressUpdater.cancel();
|
||||
}
|
||||
hide();
|
||||
|
||||
}
|
||||
|
|
|
@ -78,6 +78,9 @@ public class MonitorBackgroundDialog extends Window {
|
|||
}
|
||||
|
||||
protected void close() {
|
||||
if (monitorBackgroundPanel != null) {
|
||||
monitorBackgroundPanel.cancelMonitorBackgroundUpdater();
|
||||
}
|
||||
hide();
|
||||
|
||||
}
|
||||
|
|
|
@ -71,7 +71,11 @@ public class MonitorBackgroundInfoDialog extends Window {
|
|||
}
|
||||
|
||||
protected void close() {
|
||||
if(monitorBackgroundInfoPanel!=null){
|
||||
monitorBackgroundInfoPanel.cancelMonitorBackgroundInfoUpdater();
|
||||
}
|
||||
hide();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -408,6 +408,13 @@ public class MonitorBackgroundInfoPanel extends FramedPanel implements
|
|||
monitorBackgroundInfoUpdater.scheduleRepeating(STATUS_POLLING_DELAY);
|
||||
monitorBackgroundInfoUpdater.run();
|
||||
}
|
||||
|
||||
public void cancelMonitorBackgroundInfoUpdater(){
|
||||
if(monitorBackgroundInfoUpdater!=null){
|
||||
monitorBackgroundInfoUpdater.cancel();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected void close() {
|
||||
if (parent != null) {
|
||||
|
|
|
@ -236,9 +236,16 @@ 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) {
|
||||
|
|
Loading…
Reference in New Issue