code: public void addViewAction(final String actionId, final ActorConsumer<?, ?> action) {
          parser.getData().addActorConsumer(actionId, action);
      }
docs: Registers an action globally for all views.
  
  @param actionId ID of the action.
  @param action will be available in views with the selected ID.