Package de.tobject.findbugs

Examples of de.tobject.findbugs.FindBugsJob.scheduleInteractive()


                            "Can't write FindBugs bug collection from project " + project + " to file " + fileName, e));
                    throw ex;
                }
            }
        };
        runFindBugs.scheduleInteractive();
    }
}
View Full Code Here


                project.deleteMarkers(FindBugsMarker.NAME, true, IResource.DEPTH_INFINITE);
                // Display warnings
                createMarkers(javaProject, bugs, project, monitor);
            }
        };
        job.scheduleInteractive();
    }

    public static @CheckForNull
    BugCode findBugCodeForMarker(IMarker marker) {
        try {
View Full Code Here

            protected void runWithProgress(IProgressMonitor monitor) throws CoreException {
                FindBugsWorker worker = new FindBugsWorker(project, monitor);
                worker.loadXml(fileName);
            }
        };
        runFindBugs.scheduleInteractive();
    }

}
View Full Code Here

     * @param resources
     *            The resource to run the analysis on.
     */
    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();
    }

    protected static void refreshViewer(IWorkbenchPart targetPart, final List<WorkItem> resources) {
        if (targetPart == null) {
            return;
View Full Code Here

            @Override
            public void done(IJobChangeEvent event) {
                refreshViewer(part, resources);
            }
        });
        clearMarkersJob.scheduleInteractive();
    }
}

final class ClearMarkersJob extends FindBugsJob {
    private final List<WorkItem> resources;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.