setSubtreeChecked(element, state, true);
setSubtreeChecked(element, state, checkExpandedState);
	private void setSubtreeChecked(Object parent, boolean state, boolean checkExpandedState) {		if (!(parent instanceof IAdaptable))			return;		IContainer container= (IContainer)((IAdaptable)parent).getAdapter(IContainer.class);		if ((!fTree.getExpandedState(parent) && checkExpandedState) || (container != null && !container.isAccessible()))			return;				Object[] children= fTreeContentProvider.getChildren(parent);		for (int i= children.length - 1; i >= 0; i--) {			Object element= children[i];			if (state) {				fTree.setChecked(element, true);				fTree.setGrayed(element, false);			}			else				fTree.setGrayChecked(element, false);			if (isExpandable(element))				setSubtreeChecked(element, state, true);		}	}