@@ -0,0 +1,829 @@
+package com.googlecode.android_scripting.trigger;%0A%0Aimport com.googlecode.android_scripting.facade.EventFacade;%0A%0Apublic class EventListenerThread extends Thread %7B%0A  private final String mEventName;%0A  private final EventFacade mEventFacade;%0A  private final EventHandler mEventHandler;%0A%0A  public interface EventHandler %7B%0A    void handleEvent(EventFacade eventFacade);%0A  %7D%0A%0A  public EventListenerThread(EventFacade eventFacade, String eventName, EventHandler eventHandler) %7B%0A    mEventName = eventName;%0A    mEventFacade = eventFacade;%0A    mEventHandler = eventHandler;%0A  %7D%0A%0A  @Override%0A  public void run() %7B%0A    while (!interrupted()) %7B%0A      try %7B%0A        mEventFacade.waitForEvent(mEventName, null);%0A        mEventHandler.handleEvent(mEventFacade);%0A      %7D catch (InterruptedException e) %7B%0A        interrupt();%0A      %7D%0A    %7D%0A  %7D%0A%7D%0A

Add EventListenerThread class