for (EventListenerReference eventListenerReference: eventListenerReferences) {
if ( (observableElement.equals(eventSource)) // this event is not propagated
|| (eventListenerReference.isPropagationEnabled()) // propagation is allowed
) {
Activity activity = eventListenerReference.get();
log.finest("executing "+activity+" for "+event);
try {
this.userCodeType = UserCodeType.EVENT_ACTIVITY;
activity.execute(this);
} catch (Exception e) {
log.finest("exception during action: "+e);
handleException((ObservableElementImpl) observableElement, event, eventListenerReference, e, "couldn't run action "+activity);
} finally {
this.userCodeType = null;