Bug 29163 SafeRunnable needs to be accessible in JFace
We need to be able to access the SafeRunnable in JFace in order that some error protection can be added to preferences and properties dialogs.
bundles/org.eclipse.ui.workbench/extensions/org/eclipse/jface/wizard/WizardDialog.java
* @param key the key
 * @see #saveEnableStateAndSet
 */
private void restoreEnableState(Control w, Map h, String key) {
	if (w != null) {
		Boolean b = (Boolean) h.get(key);
		if (b != null)
			w.setEnabled(b.booleanValue());
	}
}
/**
 * Restores the enabled/disabled state of the wizard dialog's
 * buttons and the tree of controls for the currently showing page.
 *
 * @param state a map containing the saved state as returned by 
 *   <code>saveUIState</code>
 * @see #saveUIState
 */
private void restoreUIState(Map state) {
	restoreEnableState(backButton, state, "back");
	restoreEnableState(nextButton, state, "next");
	restoreEnableState(finishButton, state, "finish");
	restoreEnableState(cancelButton, state, "cancel");
	restoreEnableState(helpButton, state, "help");
	ControlEnableState pageState = (ControlEnableState) state.get("page");
	pageState.restore();
}
/* (non-Javadoc)
 * Method declared on IRunnableContext.
 */