import javax.jcr.Session;
import javax.jcr.nodetype.NodeType;
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;
getManagedForm().addPart(formPart);
// observation
- statusObserver = new AsyncUiEventListener() {
- protected void onEventInUiThread(EventIterator events) {
+ statusObserver = new AsyncUiEventListener(form.getDisplay()) {
+ protected void onEventInUiThread(List<Event> events) {
statusChanged();
}
};