return upResponse;
}
+ public TDB_FTSData getFTSDataFor(JTable restable, int selectedRow,
+ Collection<FTSData> discoveredStructuresSet)
+ {
+ int idColumnIndex = restable.getColumn("Model id").getModelIndex();
+
+ String modelId = (String) restable.getValueAt(selectedRow, idColumnIndex);
+ for (FTSData row:discoveredStructuresSet)
+ {
+ if (row instanceof TDB_FTSData && ((TDB_FTSData)row).getModelId().equals(modelId))
+ {
+ return ((TDB_FTSData)row);
+ }
+ }
+ return null;
+ }
+
}
\ No newline at end of file