public void updateTable(List<SourcePlugin> plugins) {
relationPickerContent.clear();
contentMap = Maps.newHashMap();
for (SourcePlugin p : plugins) {
for (Relation r : p.getRelations()) {
DirectedRelation directedRelation = new BasicDirectedRelation(r);
// add to the content provider
relationPickerContent.add(directedRelation);
// and to the map for fast retrieval
contentMap.put(r, directedRelation);
}