@ Override protected void work ( final IWorkbenchPart part , IResource resource , final List < WorkItem > resources ) { FindBugsJob clearMarkersJob = new ClearMarkersJob ( resource , resources ) ; clearMarkersJob . addJobChangeListener ( new JobChangeAdapter ( ) { @ Override public void done ( IJobChangeEvent event ) { refreshViewer ( part , resources ) ; } } ) ; clearMarkersJob . scheduleInteractive ( ) ; }
Clear the FindBugs markers on each project in the given selection displaying a progress monitor .