updateUseJRE();
boolean forceIncludeJRE= forceIncludeJRE(getLimitTo()); fIncludeJRECheckbox.setEnabled(!forceIncludeJRE); fIncludeJRECheckbox.setSelection(forceIncludeJRE || initData.includesJRE());
	private void initSelections() {		ISelection sel= getContainer().getSelection();		SearchPatternData initData= null;		if (sel instanceof IStructuredSelection) {			initData= tryStructuredSelection((IStructuredSelection) sel);		} else if (sel instanceof ITextSelection) {			IEditorPart activePart= getActiveEditor();			if (activePart instanceof JavaEditor) {				try {					IJavaElement[] elements= SelectionConverter.codeResolve((JavaEditor) activePart);					if (elements != null && elements.length > 0) {						initData= determineInitValuesFrom(elements[0]);					}				} catch (JavaModelException e) {					// ignore				}			}			if (initData == null) {				initData= trySimpleTextSelection((ITextSelection) sel);			}		}		if (initData == null) {			initData= getDefaultInitValues();		}				fInitialData= initData;		fJavaElement= initData.getJavaElement();		fCaseSensitive.setSelection(initData.isCaseSensitive());		fCaseSensitive.setEnabled(fJavaElement == null);				setSearchFor(initData.getSearchFor());		setLimitTo(initData.getSearchFor(), initData.getLimitTo());		fPattern.setText(initData.getPattern());		updateUseJRE();	}