code: public void installMenu() {
  
          // initialize the menu groups
          m_groupContainer.clear();
  
          // creates the context help menu
          CmsAdminMenuGroup helpMenu = new CmsAdminMenuGroup(
              "help",
              Messages.get().getBundle(getLocale()).key(Messages.GUI_ADMIN_MENU_HELP_GROUP_0));
          helpMenu.addMenuItem(new CmsAdminContextHelpMenuItem());
          addGroup(helpMenu);
  
          Iterator<CmsTool> itElems = getToolManager().getToolsForPath(
              this,
              getToolManager().getBaseToolPath(this),
              false).iterator();
          while (itElems.hasNext()) {
              CmsTool tool = itElems.next();
              // check visibility
              String link = tool.getHandler().getLink();
              if (link.indexOf("?") > 0) {
                  link = link.substring(0, link.indexOf("?"));
              }
              if (!getCms().existsResource(link) || !tool.getHandler().isVisible(this)) {
                  continue;
              }
  
              // cut out the base
              String path = tool.getHandler().getPath().substring(getToolManager().getBaseToolPath(this).length());
              // special case of the base tool
              if (CmsStringUtil.isEmpty(path)) {
                  continue;
              }
              // skip initial '/'
              int pos = tool.getHandler().getPath().indexOf(CmsToolManager.TOOLPATH_SEPARATOR);
              // only install if at first level
              if (path.indexOf(CmsToolManager.TOOLPATH_SEPARATOR, pos + 1) < 0) {
  
                  addItem(
                      tool.getHandler().getGroup(),
                      tool.getHandler().getShortName(),
                      tool.getHandler().getSmallIconPath(),
                      CmsToolManager.linkForToolPath(getJsp(), tool.getHandler().getPath()),
                      tool.getHandler().isEnabled(this)
                      ? tool.getHandler().getHelpText()
                      : tool.getHandler().getDisabledHelpText(),
                      tool.getHandler().isEnabled(this),
                      tool.getHandler().getPosition(),
                      CmsAdminMenu.DEFAULT_TARGET);
              }
          }
      }
docs: Creates the default menu as the root tool structure.<p>