Bug 151990 [Progress] Task Name Not Displayed in ProgressMonitorDialog with openOnRun==false
When setOpenOnRun(false) is used on a ProgressMonitorDialog, the task name is not displayed correctly. Steps to reproduce: 1) Instantiate a ProgressMonitorDialog 2) Call setOpenOnRun(false) 3) Call run() 4) After a delay, call open() Actual Result: The default task name "Operation in Progress" is displayed. Expected Result: The task name specified in the call to the monitor's beginTask method. Suggested fix: Call setMessage(task) whenn the dialog is opened.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ProgressMonitorDialog.java
clearCursors();
			return super.close();
		}
		return false;
	}
	/**
	 * Clear the cursors in the dialog.
	 * 
	 * @since 3.0
	 */
	protected void clearCursors() {
		if (cancel != null && !cancel.isDisposed()) {
			cancel.setCursor(null);
		}
		Shell shell = getShell();
		if (shell != null && !shell.isDisposed()) {
			shell.setCursor(null);
		}
		if (arrowCursor != null) {
			arrowCursor.dispose();
		}
		if (waitCursor != null) {
			waitCursor.dispose();
		}
		arrowCursor = null;
		waitCursor = null;
	}
	/*
	 * (non-Javadoc) Method declared in Window.
	 */