Bug 74163 [IDE] Tips and Tricks dialog; disable OK if no selection
OK should be disabled if one has not selected one entry in the list box above.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/TipsAndTricksAction.java
*/
    public TipsAndTricksAction(IWorkbenchWindow window) {
        super(IDEWorkbenchMessages.TipsAndTricks_text);
        if (window == null) {
            throw new IllegalArgumentException();
        }
        this.workbenchWindow = window;
        setToolTipText(IDEWorkbenchMessages.TipsAndTricks_toolTip);
        window.getWorkbench().getHelpSystem().setHelp(this,
				IIDEHelpContextIds.TIPS_AND_TRICKS_ACTION);
        setActionDefinitionId("org.eclipse.ui.help.tipsAndTricksAction"); 
        workbenchWindow.getPartService().addPartListener(this);
    }
    /**
     *	The user has invoked this action
     */
    public void run() {
        if (workbenchWindow == null) {
            
            return;
        }
        
        AboutInfo[] featureInfos = IDEWorkbenchPlugin.getDefault()
                .getFeatureInfos();
        ArrayList tipsAndTricksFeatures = new ArrayList(featureInfos.length);
        for (int i = 0; i < featureInfos.length; i++) {
            if (featureInfos[i].getTipsAndTricksHref() != null) {
				tipsAndTricksFeatures.add(featureInfos[i]);
			}
        }