Bug 125874 [create script] 'Select All' doesn't work
20060131 - Create script - Press 'Select All', nothing happens
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/history/RefactoringHistoryControl.java
*            <code>false</code> otherwise
		 */
		private void setSubTreeGrayed(final Object element, final boolean grayed) {
			setElementGrayed(element, grayed);
			final Object[] children= getChildren(element);
			for (int index= 0; index < children.length; index++) {
				setSubTreeGrayed(children[index], grayed);
			}
		}
		/**
		 * Updates the check state after some refactoring descriptors have been
		 * checked.
		 */
		public void updateCheckState() {
			updateCheckState(getInput());
		}
		/**
		 * Updates the checkstate of the specified element and dependencies.
		 * 
		 * @param element
		 *            the changed element
		 */
		private void updateCheckState(final Object element) {
			final Object[] children= getChildren(element);
			for (int index= 0; index < children.length; index++) {
				updateCheckState(children[index]);
			}
			if (children.length > 0)
				propagateCheckState(element, children);
		}