Bug 51991 [Progress] Half-busy cursor API on site progress service
Currently the Team components set the half-busy cursor in views that are running a job via the IWorkbenchSiteProgressService mechanism. But we can't show this cursor on the toolbar or view title pane. It would be better if the site progress service had API for setting the cursor on the partpane. This would allow showing the half-busy cursor for the entire part.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableContentProvider.java
private int totalWork() {
		return queues.workRemaining() + 1;
	}
	
	/**
	 * Starts the update thread... this will continue to make incremental changes
	 * to the viewer until the pending* sets become empty. Does nothing if the
	 * update thread is already running or if there are no changes to process.
	 */
	private void scheduleUpdate() {		
		if (hasPendingChanges()) {
			updateJob.schedule();
		}
	}
	
	/**
	 * Cancels any pending changes to the viewer. The contents of the viewer
	 * will be left in whatever state they are in at the time. Any changes that
	 * have not yet been applied will be lost. It is a good idea to call this
	 * method before performing a long computation that will ultimately invalidate
	 * the contents of the viewer.
	 */
	public void cancelPendingChanges() {
		updateJob.cancel();
		
		lock.acquire();
		try {
			queues.cancelPending();
		} finally {
			lock.release();