code: public static I_CmsDirectEditProvider getDirectEditProvider(PageContext context) {
  
          // get the direct edit provider from the request attributes
          return (I_CmsDirectEditProvider)context.getRequest().getAttribute(
              I_CmsDirectEditProvider.ATTRIBUTE_DIRECT_EDIT_PROVIDER);
      }
docs: Returns the current initialized instance of the direct edit provider.<p>
  
  @param context the current JSP page context
  
  @return the current initialized instance of the direct edit provider