derivates = CdmStore.getService(IOccurrenceService.class).load(new ArrayList(derivativeUuids), SPECIMEN_INIT_STRATEGY);
}
updateRootEntities(derivates);
- refreshTree(false);
+ labelProvider.initCache(derivates);
previousCdmEntitySession.bind();
}
}
* Refreshes the derivate hierarchy tree
*/
public void refreshTree(){
- refreshTree(true);
- }
-
- /**
- * Refreshes the derivate hierarchy tree
- * @param refreshViewer if <code>true</code> then also the
- * viewer will be refreshed. This was implemented due to
- * performance reasons. If passing <code>false</code>
- * does what was expected use <code>false</code> preferably.
- */
- public void refreshTree(boolean refreshViewer){
- //refresh typedesignations
- labelProvider.refresh();
- if(refreshViewer){
- viewer.refresh();
- }
+ viewer.refresh();
}
//FIXME:Remoting hack to make this work for remoting