setSubtreeChecked(element, state, true);
setSubtreeChecked(element, state, state);
	void handleCheckStateChange(final CheckStateChangedEvent event) {		BusyIndicator.showWhile(getShell().getDisplay(), new Runnable() {			public void run() {				IAdaptable element= (IAdaptable)event.getElement();				IResource resource= (IResource)element.getAdapter(IResource.class);				if (resource != null && !resource.isAccessible()) {					MessageDialog.openInformation(getShell(), WorkingSetMessages.getString("JavaWorkingSetPage.projectClosedDialog.title"), WorkingSetMessages.getString("JavaWorkingSetPage.projectClosedDialog.message")); //$NON-NLS-2$ //$NON-NLS-1$					fTree.setChecked(element, false);					fTree.setGrayed(element, true);					return;				}				boolean state= event.getChecked();						fTree.setGrayed(element, false);				if (isExpandable(element))					setSubtreeChecked(element, state, true);									updateParentState(element, state);				validateInput();			}		});	}