private void refresh() {
if (timebase != null && timebase.getName() != null && !timebase.getName().trim().equals("")) {
this.view.setTimebaseName(timebase.getName());
this.view.setEnabled(timebase.isEnabled());
String factoryClassName = SalsaDAOFactory.class.getName();
TimebaseStateKey timebaseStateKey = new TimebaseStateKey(timebase, factoryClassName);
view.setTimebaseStateKey(factoryClassName, timebaseStateKey);
view.switchDAOFactory(factoryClassName);
view.setActive(true);
// Resume the DAO if it was suspended.
AbstractDAOFactory factory = DAOFactoryManager.registerFactory(factoryClassName);