public void setDataSource(DataSource ds) {
   if (this.ds != ds) {
     this.ds = ds;
     tableModel.setDataType(ds.getDataType());
     if (DataType.VECTOR == ds.getDataType()) {
       showOverview("table");
     } else {
       showOverview("triangle");
     }
     startLoader();
   }
 }
 @Override
 protected List<DataEntry> doInBackground() throws Exception {
   if (source == null) return Collections.EMPTY_LIST;
   return source.getEntries(DataEntryFilter.ALL);
 }