有没有办法捕获Eclipse的Progress View? 我想知道Progress View是否显示No operations to display at this time. 或者如果有进展的话。
谢谢。
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.
最满意答案
进度视图id是org.eclipse.ui.views.ProgressView ,它由org.eclipse.ui.internal.progress.ProgressView实现。 由于这是一个内部类,它不是Eclipse API的一部分,您不应该尝试使用它。 在任何情况下,它都不能提供查看当前显示内容的方法。
您可以通过以下方式了解作业经理目前是否处于空闲状态:
boolean idle = Job.getJobManager().isIdle();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();
更多推荐
发布评论