0

I'm writing an SWT/JFace application and was wondering if it is possible to use the Progress Monitor Window from Eclipse in my standalone application. For clarification: I'm speaking of this:

Progress Window

and not the ProgressMonitorDialog.

If this is not easily achievable, what would be an easy way to implement this for my own?

4

2 回答 2

0

I think this dialog is org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog

Although you won't be able to use it directly, you could download the source from Eclipse.org or via the Source link on this page:

http://javasourcecode.org/html/open-source/eclipse/eclipse-3.5.2/org/eclipse/ui/internal/progress/ProgressMonitorJobsDialog.html

于 2013-04-25T19:00:30.513 回答
0

你可以尝试使用这个:

Dialog.getBlockedHandler().showBlocked(IProgressMonitor, IStatus, String)

我过去用它来表明我的工作需要等待另一个工作完成。

于 2013-02-25T11:03:12.300 回答