use of org.netxms.ui.eclipse.datacollection.SourceProvider in project netxms by netxms.
the class SummaryTablesCache method reload.
/**
* Reload tables from server
*/
private void reload() {
try {
List<DciSummaryTableDescriptor> list = session.listDciSummaryTables();
synchronized (tables) {
tables.clear();
for (DciSummaryTableDescriptor d : list) {
tables.put(d.getId(), d);
}
}
SourceProvider p = SourceProvider.getInstance(display);
if (p != null) {
p.update();
}
} catch (Exception e) {
Activator.logError("Exception in SummaryTablesCache.reload()", e);
}
}
Aggregations