docs: protected ContextMenu getAllDayViewMenu(ContextMenuParameter param) {
          ContextMenu contextMenu = new ContextMenu();
  
          DateControl control = param.getDateControl();
          if (control instanceof AllDayView) {
              MenuItem newEntry = new MenuItem(Messages.getString("ContextMenuProvider.ADD_NEW_EVENT")); //$NON-NLS-1$
              newEntry.setOnAction(evt -> {
                  control.createEntryAt(param.getZonedDateTime());
                  contextMenu.hide();
              });
              contextMenu.getItems().add(newEntry);
          }
  
          if (contextMenu.getItems().isEmpty()) {
              return null;
          }
  
          return contextMenu;
      }