code: public void setHandler(String contextId, Runnable action) {
  
          if (contextId != null) {
              m_createFunctions.put(contextId, action);
          }
      }
docs: Sets the action which should be executed if cmsCreateAndEditNewElement is called with the given collector context id.<p>
  
  @param contextId the collector context id
  @param action the action to execute