Bug 301976 [WorkingSets] Test failure on Cocoa, N20100204-2000
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/ResourceWorkingSetPage.java
BusyIndicator.showWhile(getShell().getDisplay(),
						new Runnable() {
							public void run() {
								tree.setCheckedElements(treeContentProvider
										.getElements(tree.getInput()));
								setSubtreeChecked((IContainer) tree.getInput(),
										true, false);
							}
						});
				validateInput();
			}
		});
		setButtonLayoutData(selectAllButton);
		Button deselectAllButton = new Button(buttonComposite, SWT.PUSH);
		deselectAllButton.setText(IDEWorkbenchMessages.ResourceWorkingSetPage_deselectAll_label);
		deselectAllButton.setToolTipText(IDEWorkbenchMessages.ResourceWorkingSetPage_deselectAll_toolTip);
		deselectAllButton.addSelectionListener(new SelectionAdapter() {
			public void widgetSelected(SelectionEvent selectionEvent) {
				BusyIndicator.showWhile(getShell().getDisplay(), new Runnable() {
					public void run() {
						tree.setCheckedElements(treeContentProvider.getElements(tree.getInput()));
						setSubtreeChecked((IContainer)tree.getInput(), false, false);
					}
				});
				validateInput();
			}
		});
		setButtonLayoutData(deselectAllButton);
		
		initializeCheckedState();