code: public String startDirectEditDisabled(CmsDirectEditParams params, CmsDirectEditResourceInfo resourceInfo) {
  
          StringBuffer result = new StringBuffer(256);
  
          result.append("<!-- EDIT BLOCK START (DISABLED): ");
          result.append(params.m_resourceName);
          result.append(" [");
          result.append(resourceInfo.getResource().getState());
          result.append("] ");
          if (!resourceInfo.getLock().isUnlocked()) {
              result.append(" locked ");
              result.append(resourceInfo.getLock().getProject().getName());
          }
          result.append(" -->\n");
          return result.toString();
      }
docs: Returns the start HTML for a disabled direct edit button.<p>
  
  @param params the direct edit parameters
  @param resourceInfo contains information about the resource to edit
  
  @return the start HTML for a disabled direct edit button