Bug 22615 [Dialogs] Native ProgressBar look does not match look of AnimatedProgress
On MacOS X the Windows look of the AnimatedProgress does not match the Aqua look of the native ProgressBar. So clients using the wrapper ProgressIndicator get either the correct Aqua look or the Windows look (which offends real Mac users :-) BTW: On MacOS X the native ProgressBar already provides the functionality of the AnimatedProgress so on MacOS X the ProgressIndicator could just avoid switching to the AnimatedProgress.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ProgressIndicator.java
nativeProgressBar.setMinimum(0);
			nativeProgressBar.setMaximum(0);
			nativeProgressBar.setSelection(0);
		}
		layout.topControl = null;
		layout();
		
	}
	/**
	 * Moves the progress indicator to the end.
	 */
	public void sendRemainingWork() {
		worked(totalWork - sumWorked);
	}
	/**
	 * Moves the progress indicator by the given amount of work units 
	 */
	public void worked(double work) {
		if (work == 0 || animated) return;
		sumWorked += work;
		if (sumWorked > totalWork)
			sumWorked = totalWork;
		if (sumWorked < 0)
			sumWorked = 0;
		int value = (int) (sumWorked / totalWork * PROGRESS_MAX);
		if (nativeProgressBar.getSelection() < value)
			nativeProgressBar.setSelection(value);
	}
}