changed show monitor

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/widgets/ws-thredds-sync-widget@164699 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2018-03-05 10:20:58 +00:00
parent 46549ec577
commit efdf0cff7b
1 changed files with 38 additions and 34 deletions

View File

@ -155,6 +155,8 @@ public class WsThreddsWidgetViewManager {
} }
if(monitorView.getSchedulerTime()==null) {
//Removing old monitor //Removing old monitor
//cancelMonitor(folder); //cancelMonitor(folder);
//Creating new one //Creating new one
@ -194,6 +196,8 @@ public class WsThreddsWidgetViewManager {
currentMonitor.setScheduler(schedulingTimer); currentMonitor.setScheduler(schedulingTimer);
saveMonitor(folder, currentMonitor); saveMonitor(folder, currentMonitor);
}
panelView.addViewAsWidget(monitorView); panelView.addViewAsWidget(monitorView);
box.add(panelView); box.add(panelView);
box.show(); box.show();