code: public void deleteResource(final String resourcePath) {
  
          CmsDeleteWarningDialog dialog = new CmsDeleteWarningDialog(resourcePath);
          Command callback = new Command() {
  
              /**
               * @see com.google.gwt.user.client.Command#execute()
               */
              public void execute() {
  
                  updateResultsTab(false);
              }
          };
          dialog.loadAndShow(callback);
      }
docs: Checks for broken links, ask for confirmation and finally deletes the given resource.<p>
  
  @param resourcePath the resource path of the resource to delete