public Object wdInvokeEventHandler(String handlerName, IWDCustomEvent event)
      throws NoSuchMethodException {

    logger.pathT("entering: wdInvokeEventHandler", new Object[] {handlerName});
    try {
      if ("onPlugDefault".equals(handlerName)) {

        delegate.onPlugDefault(event);
        return null;
      }
      throw new NoSuchMethodException(
          "Eventhandler " + handlerName + " not found for event " + event.getName());
    } finally {
      logger.pathT("exiting: wdInvokeEventHandler");
    }
  }
 /** Hook method called to clean up interface_view controller. */
 public void wdDoExit() {
   logger.pathT("entering: wdDoExit");
   logger.pathT("exiting: wdDoExit");
 }
 /**
  * Hook method called to modify view before rendering. Access to UI elements is via the given view
  * API only!
  *
  * @param firstTime indicates whether the hook is called for the first time during the lifetime of
  *     this view
  */
 public void wdDoModifyView(IWDView view, boolean firstTime) {
   logger.pathT("entering: doModifyView");
   // nothing to do for interface views
   logger.pathT("exiting: doModifyView");
 }