}
}
private Component getComponent() {
try {
SnippetWidget w = snip.getWidget("view", null);
synchronized(this) {
this.widget = w;
}
Map environment = TaskScheduleChartUtil.getEnvironment(
taskList, schedule, filter, snip, ctx);
Map params = TaskScheduleChartUtil.getParameters(settings);
return w.getWidgetComponent(environment, params);
} catch (Throwable e) {
logger.log(Level.SEVERE,
"Unexpected error when displaying EV snippet widget with id '"
+ id + "'", e);