zsgdn
zsgdn

Reputation: 1

how to create a progress bar that moves back and forth in jface

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

Answers (0)

Related Questions