code: protected void work(IWorkbenchPart part, final IResource resource, final List<WorkItem> resources) {
          FindBugsJob runFindBugs = new StartedFromViewJob("Finding bugs in " + resource.getName() + "...", resource, resources, part);
          runFindBugs.scheduleInteractive();
      }
docs: Run a FindBugs analysis on the given resource, displaying a progress
  monitor.
  
  @param part
  
  @param resources
  The resource to run the analysis on.