code: protected void decorateMenuEntry(CmsContextMenuEntry entry, String name, boolean checked) {
  
          CmsContextMenuEntryBean bean = new CmsContextMenuEntryBean();
          bean.setLabel(name);
          bean.setActive(true);
          bean.setVisible(true);
          I_CmsInputCss inputCss = I_CmsInputLayoutBundle.INSTANCE.inputCss();
          bean.setIconClass(checked ? inputCss.checkBoxImageChecked() : "");
          entry.setBean(bean);
      }
docs: Fills in label and checkbox of a menu entry.<p>
  
  @param entry the menu entry
  @param name the label
  @param checked true if checkbox should be shown