eclipse progress bar

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-03-29T13:49:50Z Indexed on 2010/03/29 13:53 UTC
Read the original article Hit count: 310

Filed under:
|
|
|

Hi!

I develop an eclipse plugin and I want to create an progress bar as eclipse view at bottom of the workbench window. I have an example, but this is showed only a moment. Please give me some ideas, thanks

  ProgressMonitorDialog dialog = new ProgressMonitorDialog(shell);
    dialog.run(true, true, new IRunnableWithProgress(){
        public void run(IProgressMonitor monitor) {
            monitor.beginTask("Some nice progress message here ...", 100);
            // execute the task ...
            monitor.done();
        }
    });

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about plugins