Search in sources :

Example 1 with ProgressRegion

use of org.eclipse.ui.internal.progress.ProgressRegion in project eclipse.platform.ui by eclipse-platform.

the class ProgressAnimationItemTest method createProgressAnimationItem.

private ProgressAnimationItem createProgressAnimationItem(Composite composite) {
    ProgressRegion progressRegion = new ProgressRegion();
    progressRegion.createContents(composite);
    return (ProgressAnimationItem) progressRegion.getAnimationItem();
}
Also used : ProgressRegion(org.eclipse.ui.internal.progress.ProgressRegion) ProgressAnimationItem(org.eclipse.ui.internal.progress.ProgressAnimationItem)

Aggregations

ProgressAnimationItem (org.eclipse.ui.internal.progress.ProgressAnimationItem)1 ProgressRegion (org.eclipse.ui.internal.progress.ProgressRegion)1