I see a lot of eclipse plugin APIs that have IProgressMonitor
as one of its parameters.
void setRawClasspath(IClasspathEntry[] entries, IProgressMonitor monitor)
throws JavaModelException;
- What is this IProgressMonitor for? Do you have any good example?
- Is it OK to pass
null
to it? Or do I have to create and pass an object (new ProgressMonitor()
)?