Bug 336684 [JFace] NPE in Tray Dialog
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TrayDialog.java
this.helpAvailable = helpAvailable;
	}
	
	/**
	 * Tests if dialogs that have help control should show it
	 * all the time or only when explicitly requested for
	 * each dialog instance.
	 * 
	 * @return <code>true</code> if dialogs that support help
	 * control should show it by default, <code>false</code> otherwise.
	 * @since 3.2
	 */
	public static boolean isDialogHelpAvailable() {
		return dialogHelpAvailable;
	}
	
	/**
	 * Sets whether JFace dialogs that support help control should
	 * show the control by default. If set to <code>false</code>, 
	 * help control can still be shown on a per-dialog basis.
	 * 
	 * @param helpAvailable <code>true</code> to show the help
	 * control, <code>false</code> otherwise.
	 * @since 3.2
	 */
	public static void setDialogHelpAvailable(boolean helpAvailable) {
		dialogHelpAvailable = helpAvailable;
	}
}