Reputation: 1
Eclipse Platform Version: 4.25 The code I am currently using is as follows
ModalContext.run(new IRunnableWithProgress() {
@Override
public void run(IProgressMonitor monitor) {
pMonitor = monitor;
}
}, false, statusLine.getProgressMonitor(), Display.getCurrent());
enter image description here But I found that calling this method multiple times will cause the progress bar to get stuck.
I want to know how to create such a progress bar correctly
Upvotes: 0
Views: 45