fCaseSensitive.setEnabled(fInitialData.javaElement == null);
fJavaElement= fInitialData.javaElement; fCaseSensitive.setEnabled(fJavaElement == null);
	private void handlePatternSelected() {		if (fPattern.getSelectionIndex() < 0)			return;		int index= fgPreviousSearchPatterns.size() - 1 - fPattern.getSelectionIndex();		fInitialData= (SearchPatternData) fgPreviousSearchPatterns.get(index);		for (int i= 0; i < fSearchFor.length; i++)			fSearchFor[i].setSelection(false);		for (int i= 0; i < fLimitTo.length; i++)			fLimitTo[i].setSelection(false);		fSearchFor[fInitialData.searchFor].setSelection(true);		setLimitTo(fInitialData.searchFor);		fLimitTo[fInitialData.limitTo].setSelection(true);		fPattern.setText(fInitialData.pattern);		fIsCaseSensitive= fInitialData.isCaseSensitive;		fCaseSensitive.setEnabled(fInitialData.javaElement == null);		fCaseSensitive.setSelection(fInitialData.isCaseSensitive);		if (fInitialData.workingSet != null)			getContainer().setSelectedWorkingSet(fInitialData.workingSet);		else			getContainer().setSelectedScope(fInitialData.scope);	}