if (getChecked(element)) {
if (getGrayed(element)) { final RefactoringHistory history= RefactoringHistoryControl.this.getInput(); if (history != null) reconcileCheckState(history); } else if (getChecked(element)) {
		public RefactoringHistoryTreeViewer(final Composite parent, final int style) {			super(parent, style);			addCheckStateListener(new ICheckStateListener() {				/**				 * {@inheritDoc}				 */				public final void checkStateChanged(final CheckStateChangedEvent event) {					reconcileCheckState(event.getElement(), event.getChecked());					handleCheckStateChanged();				}			});			addTreeListener(new ITreeViewerListener() {				/**				 * {@inheritDoc}				 */				public final void treeCollapsed(final TreeExpansionEvent event) {					// Do nothing				}				/**				 * {@inheritDoc}				 */				public final void treeExpanded(final TreeExpansionEvent event) {					BusyIndicator.showWhile(getDisplay(), new Runnable() {						public final void run() {							final Object element= event.getElement();							if (getChecked(element)) {								setSubTreeGrayed(element, false);								setSubtreeChecked(element, true);							}						}					});				}			});		}