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/WizardDialog.java
activeRunningOperations--;
			
			if (state != null)
				stopped(state);
		}
	}
	/**
	 * Saves the enabled/disabled state of the given control in the
	 * given map, which must be modifiable.
	 *
	 * @param w the control, or <code>null</code> if none
	 * @param h the map (key type: <code>String</code>, element type:
	 *   <code>Boolean</code>)
	 * @param key the key
	 * @param enabled <code>true</code> to enable the control, 
	 *   and <code>false</code> to disable it
	 * @see #restoreEnableStateAndSet
	 */
	private void saveEnableStateAndSet(Control w, Map h, String key, boolean enabled) {
		if (w != null) {
			h.put(key, new Boolean(w.getEnabled()));
			w.setEnabled(enabled);
		}
	}
	/**
	 * Captures and returns the enabled/disabled state of the wizard dialog's
	 * buttons and the tree of controls for the currently showing page. All
	 * these controls are disabled in the process, with the possible excepton of
	 * the Cancel button.
	 *