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:
parent
46549ec577
commit
efdf0cff7b
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue