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

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

Introduction

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

Prototype

public void showNormal() 

Source Link

Document

Reset the progress bar to it's normal style.

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);// w w w .  j  a va 2 s  .co  m
    indicator.showNormal();
    indicator.worked(50);
    spin(display);

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

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