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 ( ) ; }
Run a FindBugs analysis on the given resource displaying a progress monitor .