Bug 60786 [Wizards] [Javadoc] Review of org.eclipse.jface.wizard
This package is very clean and well written. ProgressMonitorPart: - clearBlocked() is undocumented. - setBlocked() is undocumented. - setTaskName() is undocumented. WizardDialog: - close() is undocumented.
bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/ProgressMonitorPart.java
/**
	 * Implements <code>IProgressMonitor.subTask</code>.
	 * @see IProgressMonitor#subTask(java.lang.String)
	 */
	public void subTask(String name) {
		fSubTaskName= name;
		updateLabel();
	}
	/**
	 * Updates the label with the current task and subtask names.
	 */
	protected void updateLabel() {
		if(blockedStatus == null){
			String text = taskLabel();
			fLabel.setText(text);
		}
		else
			fLabel.setText(blockedStatus.getMessage());
		
		
		fLabel.update();
	}
	
	
	/**
	 * Return the label for showing tasks
	 * @return
	 */
	private String taskLabel() {
		String text = fSubTaskName == null ? "" : fSubTaskName;