code: public void deleteCategory(final CmsUUID id) {
  
          CmsDeleteWarningDialog deleteWarningDialog = new CmsDeleteWarningDialog(id) {
  
              @Override
              protected void onAfterDeletion() {
  
                  CmsSitemapView.getInstance().getController().loadCategories(true, null);
              }
          };
          deleteWarningDialog.loadAndShow(null);
      }
docs: Deletes a category.<p>
  
  @param id the id of the category