return new SearchPatternData(TYPE, REFERENCES, adapter.getLabel(o), null);
return new SearchPatternData(TYPE, REFERENCES, fIsCaseSensitive, adapter.getLabel(o), null);
	private SearchPatternData tryStructuredSelection(IStructuredSelection selection) {		if (selection == null || selection.size() > 1)			return null;		Object o= selection.getFirstElement();		if (o instanceof IJavaElement) {			return determineInitValuesFrom((IJavaElement)o);		} else if (o instanceof ISearchResultViewEntry) {			IJavaElement element= SearchUtil.getJavaElement(((ISearchResultViewEntry)o).getSelectedMarker());			return determineInitValuesFrom(element);		} else if (o instanceof IAdaptable) {			IJavaElement element= (IJavaElement)((IAdaptable)o).getAdapter(IJavaElement.class);			if (element != null) {				return determineInitValuesFrom(element);			} else {				IWorkbenchAdapter adapter= (IWorkbenchAdapter)((IAdaptable)o).getAdapter(IWorkbenchAdapter.class);				if (adapter != null)					return new SearchPatternData(TYPE, REFERENCES, adapter.getLabel(o), null);			}		}		return null;	}