Bug 53442 [Progress] New JFace API methods missing @since
I20040226 ProgressMonitorDialog has several new API methods that have been added since the 2.1 release, but are missing @since tags. The following API methods were added since 2.1: aboutToRun cancelPressed clearCursors decrementNestingDepth finishedRun getNestingDepth getOpenOnRun incrementNestingDepth open (overrides Window.open) setOpenOnRun
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ProgressMonitorDialog.java
* Set the message in the message label.
 */
private void setMessage(String messageString) {
	
	message = messageString == null ? "" : messageString; 
	if (messageLabel == null || messageLabel.isDisposed())
		return;
	messageLabel.setText(message);
}
/**
 * Update the message label. Required if the monitor is forked.
 */
private void update() {
	if (messageLabel == null || messageLabel.isDisposed())
			return;	
	messageLabel.update();
}
/* (non-Javadoc)
 * @see org.eclipse.jface.window.Window#open()
 */
public int open() {
	
	if(!getOpenOnRun()){
		if(getNestingDepth() == 0)
			return OK;
	}
	return super.open();
}
}