docs: public void registerAction(IDisable actionElement) {
          if (registeredActions == null) {
              registeredActions = new ArrayList<>();
          }
  
          registeredActions.add(actionElement);
          actionElement.setDisabled(isDisabled());
      }