code: protected static CmsDirectEditParams getDirectEditProviderParams(PageContext context) {
  
          // get the current request
          ServletRequest req = context.getRequest();
          // get the direct edit params from the request attributes
          CmsDirectEditParams result = (CmsDirectEditParams)req.getAttribute(
              I_CmsDirectEditProvider.ATTRIBUTE_DIRECT_EDIT_PROVIDER_PARAMS);
          if (result != null) {
              req.removeAttribute(I_CmsDirectEditProvider.ATTRIBUTE_DIRECT_EDIT_PROVIDER_PARAMS);
          }
          return result;
      }
docs: Returns the current initialized instance of the direct edit provider parameters from the given page context.<p>
  
  Also removes the parameters from the given page context.<p>
  
  @param context the current JSP page context
  
  @return the current initialized instance of the direct edit provider parameters