Search code examples
eclipse-plugin

Getting Eclipse's Progress View


Is there a way to capture Eclipse's Progress View? I want to know if the Progress View displays No operations to display at this time. or if there is a running progress.

Thanks.


Solution

  • The progress view id is org.eclipse.ui.views.ProgressView and it is implemented by org.eclipse.ui.internal.progress.ProgressView. Since this is an internal class it is not part of the Eclipse API and you should not attempt to use it. In any case it does not provide a way to see what is currently being displayed.

    You can find out if the job manager is currently idle using:

    boolean idle = Job.getJobManager().isIdle();