public void addViewAction(final String actionId, final ActorConsumer<?, ?> action) {
        parser.getData().addActorConsumer(actionId, action);
    }
public void addViewAction ( final String actionId , final ActorConsumer < ? , ? > action ) { parser . getData ( ) . addActorConsumer ( actionId , action ) ; }
Registers an action globally for all views.

@param actionId ID of the action.
@param action will be available in views with the selected ID.