code: private String getPath(CmsObject cms, HttpSession session) {
  
          CmsQuickLaunchLocationCache locationCache = CmsQuickLaunchLocationCache.getLocationCache(session);
          String page = locationCache.getFileExplorerLocation(cms.getRequestContext().getSiteRoot());
          if (page != null) {
              CmsADEConfigData conf = OpenCms.getADEManager().lookupConfiguration(
                  cms,
                  cms.getRequestContext().addSiteRoot(page));
              if ((conf == null) || (conf.getBasePath() == null)) {
                  page = null;
              } else {
                  page = cms.getRequestContext().removeSiteRoot(conf.getBasePath());
              }
          }
          if (page == null) {
              page = locationCache.getSitemapEditorLocation(cms.getRequestContext().getSiteRoot());
          }
          return page;
      }
docs: Returns the page editor path to open.<p>
  
  @param cms the cms context
  @param session the user session
  
  @return the path or <code>null</code>