Пример #1
0
 /* (non-Javadoc)
  * @see ome.formats.importer.IObservable#notifyObservers(ome.formats.importer.ImportEvent)
  */
 public void notifyObservers(ImportEvent event) {
   for (IObserver observer : observers) {
     try {
       observer.update(this, event);
     } catch (Exception e) {
       log.error(e.toString()); // slf4j migration: toString()
     }
   }
 }
Пример #2
0
 /* (non-Javadoc)
  * @see ome.formats.importer.IObservable#notifyObservers(ome.formats.importer.ImportEvent)
  */
 public final void notifyObservers(ImportEvent event) {
   for (IObserver observer : observers) {
     observer.update(this, event);
   }
 }