Bug 75689 [Progress] Progress bar does not work while creating patch
Using build I200410050800. While creating a patch file, progress is always empty even if the cvs diff takes a long time. Seem to be a regression as it worked with M2...
bundles/org.eclipse.jface/src/org/eclipse/jface/operation/AccumulatingProgressMonitor.java
clearCollector(this);
            if (subTask != null)
                monitor.subTask(subTask);
            if (worked > 0)
                monitor.internalWorked(worked);
        }
    }
    /**
     * Creates an accumulating progress monitor wrapping the given one
     * that uses the given display.
     * 
     * @param monitor the actual progress monitor to be wrapped
     * @param display the SWT display used to forward the calls 
     *  to the wrapped progress monitor
     */
    public AccumulatingProgressMonitor(IProgressMonitor monitor, Display display) {
        super(monitor);
        Assert.isNotNull(display);
        this.display = display;
    }
    /* (non-Javadoc)
     * Method declared on IProgressMonitor.
     */
    public void beginTask(final String name, final int totalWork) {
        synchronized (this) {
            collector = null;
        }
        display.syncExec(new Runnable() {
            public void run() {
                currentTask = name;