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.beginTask</code>.
	 * @see IProgressMonitor#beginTask(java.lang.String, int)
	 */
	public void beginTask(String name, int totalWork) {
		fTaskName= name;
		updateLabel();
		if (totalWork == IProgressMonitor.UNKNOWN || totalWork == 0) {
			fProgressIndicator.beginAnimatedTask();
		} else {
			fProgressIndicator.beginTask(totalWork);
		}	
	}
	/**
	 * Implements <code>IProgressMonitor.done</code>.
	 * @see IProgressMonitor#done()
	 */
	public void done() {
		fLabel.setText("");
		fProgressIndicator.sendRemainingWork();
		fProgressIndicator.done();
	}
	/**
	 * Escapes any occurrence of '&' in the given String so that
	 * it is not considered as a mnemonic
	 * character in SWT ToolItems, MenuItems, Button and Labels.
	 */
	protected static String escapeMetaCharacters(String in) {
		if (in == null || in.indexOf('&') < 0)