Bug 128425 [Help] Help button should not show up in dialogs without help context ID
I20060216-2000 The Help button should not show up in dialogs without help context ID. Examples in this build are the 'Source > Clean Up...' wizard or 'plugin context menu > PDE Tools > Organize Manifests...'.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TrayDialog.java
Composite composite = new Composite(parent, SWT.NONE);
    	GridLayout layout = new GridLayout();
    	layout.marginWidth = 0;
    	layout.marginHeight = 0;
    	layout.horizontalSpacing = 0;
    	composite.setLayout(layout);
    	composite.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
    	composite.setFont(parent.getFont());
		
        if (isHelpAvailable() || isDialogHelpAvailable()) {
        	Control helpControl = createHelpControl(composite);
        	((GridData) helpControl.getLayoutData()).horizontalIndent = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_MARGIN);
		}
        Control buttonSection = super.createButtonBar(composite);
        ((GridData) buttonSection.getLayoutData()).grabExcessHorizontalSpace = true;
        return composite;
	}
	/**
	 * Creates a new help control that provides access to context help.
	 * <p>
	 * The <code>TrayDialog</code> implementation of this method creates
	 * the control, registers it for selection events including selection,
	 * Note that the parent's layout is assumed to be a <code>GridLayout</code>
	 * and the number of columns in this layout is incremented. Subclasses may
	 * override.
	 * </p>
	 * 
	 * @param parent the parent composite
	 * @return the help control
	 */