import javax.jcr.RepositoryException;
import javax.jcr.Session;
import javax.jcr.observation.Event;
-import javax.jcr.observation.EventIterator;
import javax.jcr.observation.EventListener;
import javax.jcr.observation.ObservationManager;
import javax.jcr.query.Query;
processesObserver = new AsyncUiEventListener(viewer.getTable()
.getDisplay()) {
- protected void onEventInUiThread(EventIterator events) {
+ protected void onEventInUiThread(List<Event> events) {
// TODO optimize by updating only the changed process
viewer.refresh();
}