Example usage for org.eclipse.jface.dialogs ProgressIndicator showPaused

List of usage examples for org.eclipse.jface.dialogs ProgressIndicator showPaused

Introduction

In this page you can find the example usage for org.eclipse.jface.dialogs ProgressIndicator showPaused.

Prototype

public void showPaused() 

Source Link

Document

Show the receiver as being paused.

Usage

From source file:org.eclipse.jface.snippets.dialogs.Snippet059VistaProgressIndicator.java

License:Open Source License

private static void performProgressOn(Display display, ProgressIndicator indicator) {

    indicator.beginTask(200);/*from  w w w . ja  va2 s  .  c  o m*/
    indicator.showNormal();
    indicator.worked(50);
    spin(display);

    indicator.showPaused();
    indicator.worked(50);
    spin(display);

    indicator.showError();
    indicator.worked(50);
    spin(display);
}