Show progress bar for background

Im new to rcp eclipse.

Context:

I perform a login operation using eclipse rcp, i'v cretead is a view that accepts a username and password from the user, and when the user clicks the login button, the code checks the database and if a valid new view is displayed to the user else shows an invalid login error .

So, here, in the above, I desperately wanted to show a progress bar (which was waiting sometime) while it was checking the database in the background.

Can I find out how to do this?

+3
source share
2 answers
+4

Eclipse RCP, "" "org.eclipse.core.runtime.jobs.Job". ApplicationWorkbenchWindowAdvisor preWindowOpen(): configurer.setShowProgressIndicator(true);

, .

progressView Extension , , ProgressView, :)

, .

+2

All Articles