code: public CmsWorkplaceSettings getWorkplaceSettings() {
  
          CmsWorkplaceSettings settings = (CmsWorkplaceSettings)getSession().getSession().getAttribute(
              CmsWorkplaceManager.SESSION_WORKPLACE_SETTINGS);
          if (settings == null) {
              settings = CmsLoginHelper.initSiteAndProject(getCmsObject());
              VaadinService.getCurrentRequest().getWrappedSession().setAttribute(
                  CmsWorkplaceManager.SESSION_WORKPLACE_SETTINGS,
                  settings);
          }
          return settings;
      }
docs: Returns the workplace settings.<p>
  
  @return the workplace settings